Fix 1826376, 1848018, 1901753. All caused by not making a copy of a canvas before...