Implemented staggering and improved the accuracy of time
measurement in the animation system so it would no longer skip the last
frame in certain scenarios.