Creatures not doing the proper death animation

Creatures dying while on a object will make them keep running and dont do the proper death animation.

easily reproduceable when you make the creature hit an object like a wall or a crate it will try to run up it and if you kill it there it will keep running and wont do a proper death animation.
image