Internal optimization after added support for visibility: inherit in the SVGRenderer.