SceneStructureWindow: if entity that belongs a group is deleted and the group becomes empty, delete the group item.