If you clicked while a page was still loading (restocking, questing, picking a new active pet), images finishing their load could shift the whole page right under your cursor, so the click landed where the button used to be. Pet pages, quest pages, Battle Quests, and item images across the site now hold their space while they load, so buttons stay put.
Thanks for addressing this! I haven't noticed the problem lately, so hopefully this did the trick.