I was mucking around with boats by standing on them and walking along with them when I jumped in my boat and rowed under my bridge. I got out and for some reason i saw the death message. I clicked re spawn but I spawned exactly where I was with all my items and potion effects (i didn't have keep inventory on). I checked 3rd person and i found my player stuck halfway in the death animation. when I looked up it continuously flipped between 2 frames of the animation.
MC-19690 Reducing maxHealth / max_health can cause fake death