It appears that there is an issue with using SetGadgetShape to enlarge a Canvas object. When drawing into the newly enlarged region of the canvas the graphics are corrupted. making the canvas smaller seems to work okay.
SetGadgetShape should probably recreate a entirely new canvas object.
SetGadgetShape should probably recreate a entirely new canvas object.