Changed how the SubmodelComponent decides whether to show its submodel