Workaround for 'invalid colormap index' error