Fix wrong extended above max color index in color map.