Fixed issue with changing the root element when rendering sub-components