Fix problem where buttons were not pressable on windows