Fixed game pausing issue