Since firefox gives the current time and chrome gives the time since the start of the animation, I updated the ticking to always use the current time on all browsers.