resize tagcanvas