Fixed button click glitch.