Fix for leg rotation on repeat animations