Fix infinite loop state check in AnimationStateMachine
#79141
+6
−4
Merged