fixed bug with player animations not stopping