Clear the canvas on setDimensions