fix hero facing the wrong direction at the end of the animation