[main] Add a canvas to mask the image.