Fixed bug in SvgRenderer.getLayer