Fix make_scalar_field.