SceneStructureWindow: clean up lookup maps properly when Entity is removed.