Fix mainmenu multiple clicks on keydown.