pausing camera when the game is paused