Fixed bug with pause menu.