Fixed bug that occurred when pausing during countdown