Fix for occasionally not working lolking buttons