Character clipping through wall during death animation

I don’t want to use ragdoll. It’s a retro style game, it would look really odd.