workaround for 8bpp problem with std colormap creation