Update Canvas2ImagePlugin.m

Minor fix