bmp file may use color indexes that are not in it's own palette (small fix)