Preserve object position and orientation when detaching rigid body