Fixed bug where timer would carry on while paused