Fix up vmin and vmax.