Fixed issue with grayscale