Conversion to grayscale fixed