use canvas.width=canvas.width to clear pic