Fixed bug where you could apply effects without having the button div visible