Correct bug in integer conversion of times (truncation was summing to a noticeable difference by the end of the animation)