Opening pause menu actually pauses game logic