fixed CGGrayscaleMat