Fix button glitching.