improved combination of dithering + global color map by removing
superfluous background color from global color maps and adding a
transparent one instead to preserve previous transparency optimizations