Avoid potential precision loss during conversion from long millis time to float seconds time by subtracting intial time in millis in updateAnimationBaseTime function