Fixed a bug in AnimationCache that causes interval to not work properly
Merge pull request #831 from Wu-Hao/affineTransform

Fixed #1846: bug in AnimationCache that causes interval to not work properly