Fixed bug where a bullet is deleted but not unregistered from the detector