Fix for displaying the color of a scalar field  with 'inf' values