remove whitespace in svgcanvas