fix animation repeat (animationRepeatCount)