Don't assume that rshift=16, gshift=8, bshift=0 in blending code