allow quitting from pause menu
Opening pause menu actually pauses game logic