Fix color transform bug