### Godot version

4.1.dev (4d5f10fc3a)

### System information

macOS 13.3.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads)

### Issue description

When panning the 3D View it will move the world in the direction opposite you are panning instead of going in the direction you are panning. This is a bug as in for example in 2D view the world is moved in the direction you are panning and the only other 3D program view I know (blender) do move the world in the direction you are panning.

### Steps to reproduce

1. open 3D view
2. Pan with a Trackpad
3. try the same on 2D or on another program doing 3DView

### Minimal reproduction project

N/A
Vector3 global_axis;
			switch (_edit.plane) {
				case TRANSFORM_VIEW:
					/
					global_axis = _get_camera_normal();
					break;
				case TRANSFORM_X_AXIS:
					local_axis = Vector3(1, 0, 0);
					break;
				case TRANSFORM_Y_AXIS:
					local_axis = Vector3(0, 1, 0);
					break;
				case TRANSFORM_Z_AXIS:
					local_axis = Vector3(0, 0, 1);
					break;
				case TRANSFORM_YZ:
				case TRANSFORM_XZ:
				case TRANSFORM_XY:
					break;
			}
			if (_edit.plane != TRANSFORM_VIEW) {
				global_axis = spatial_editor->get_gizmo_transform().basis.xform(local_axis).normalized();
			}
			Vector3 intersection;
			if (!plane.intersects_ray(ray_pos, ray, &intersection)) {
				break;
			}
			Vector3 click;
			if (!plane.intersects_ray(_edit.click_ray_pos, _edit.click_ray, &click)) {
				break;