### Godot version

v4.0.beta17.official [c40020513]

### System information

macOS

### Issue description

Zoom in/out is not being triggered while holding "control" and scrolling via magic mouse on macOS. I also attempted to press command/shift/option just in case shortcut has changed, but still wasn't able to zoom in/out. Pressing +/- buttons in the top-left corner works, so does the pinch gesture on trackpad, so the issue appears to be with magic mouse input events.

(There is also an issue with panning- it is extremely slow on both magic mouse and trackpad)

### Steps to reproduce

Hold "control" and "scroll" the magic mouse either horizontally or vertically

### Minimal reproduction project

N/A
ERR_FAIL_COND(p_scroll_speed <= 0);
	scroll_speed = p_scroll_speed;
}
void ViewPanner::set_scroll_zoom_factor(float p_scroll_zoom_factor) {
	ERR_FAIL_COND(p_scroll_zoom_factor <= 1.0);
	scroll_zoom_factor = p_scroll_zoom_factor;
}
void ViewPanner::set_pan_axis(PanAxis p_pan_axis) {
	pan_axis = p_pan_axis;
}
void ViewPanner::setup(ControlScheme p_scheme, Ref<Shortcut> p_shortcut, bool p_simple_panning) {
	set_control_scheme(p_scheme);
	set_pan_shortcut(p_shortcut);
	set_simple_panning_enabled(p_simple_panning);
}
bool ViewPanner::is_panning() const {
	return is_dragging || pan_key_pressed;
}
void ViewPanner::set_force_drag(bool p_force) {
	force_drag = p_force;
}
ViewPanner::ViewPanner() {
	Array inputs;
	inputs.append(InputEventKey::create_reference(Key::SPACE));
	pan_view_shortcut.instantiate();
	pan_view_shortcut->set_events(inputs);
}