Fixing 8-bit dithering