reinit the canvas