Added game pausing when player hit the esc key