Fix paletted images