Fixes the refresh bug when the timer line has to do a big jump