I'm playing on 1.12.2, When in third-person you see animation (like when i sneak or punch)_ and then switch back to first person while the animation was still on it will be displayed in inventory avatar forever, until you go back to third-person and finish the animation.