Fixed pause menu to exit to main menu correctly.