Grayscale image fixes