remove dangling shape pointers from PhysicsSimulation

Fixes crash on dangling Shape pointers when changing body model while ragdoll was colliding.