correct icon in editor when all visible components are removed from entity
refactoring; sometimes a component was added twice to the list of components