fix off by one color channel swizzle nonsense