Fixed a switching gravity while paused