change how the addcomponent is patched to the svgpen