layerViewerGui: do not display layer if slot is an object