Fix texture swizzling bug