Added pausing when game is paused