Fixed a bug in Animator

A previous bug in animator would sometimes not complete an animation to
100%. Due to the way the timings were calculated, it could actually
reach >100% which cause weird calculation issues in the ease's.