Fixed physics re-registration hack bug.