Fix setIsParent handling of nested CompositeIsWidgets.