Fixed division by zero in AnimationState. PlayerTest should work now.