fix bug where nested composites also display as roots