Ensured that changing the time doesn't cause the clock to fall behind.