Fixed persistent NaN color issue by copying colormaps