Clear selection if hiding entity
Currently if you hide an entity by clicking on the eyeball, the entity doesn't hide because it is still selected. You have to clear the selection for it to be hidden. If an item is selected when trying to hide it, it should be cleared from the selection.