Restored TreeItem visibility in components.