Fix Firefox weirdness when focusing and disabling the button right after