Pass root element into renderSvg.