changed MovieClip totalTime calculations to avoid floating point errors (refs #275)