Added check to ensure no collisions with corpses