Fix black transparency for paletted pictures