Fix to replace inner SVG content