Game pausing when player hit the esc key