Fix NRE when grabbing a stateful part from a container.

Unlike Destroy(foo), foo.DestroyJoint() will crash if foo is null.