fix recolor bug with color transform matrix