Simplify canvas blending code