Fixes ASSERT in AnimationClip. Fixed #1250