Fixed the bug where pausing the game didn't stop the timers