Fixed up the entity to remove references to a CSNode when it's deleted.