fix bug with scalarbar having the wrong values when projecting scalars to surface is not selected