Fix hinge animation bug