Fixed some menus not pausing the game