Fix bug in AnimationRunner