Fixes cms:render not working with cms:layout when it's not a direct child.