fixed showstopper bug which broke rigid body collisions.