### Godot version

4.0 beta 10, mono edition

### System information

Windows 11

### Issue description

No matter what I do Project Camera Override can never detect a game instance.

![image](https://user-images.githubusercontent.com/13719743/209912444-541f642a-42d3-4860-a4e0-54a17dbbab0b.png)

Of relevance: I can see remote nodes. I can see the output in the console. I can see the output in my IDE of choice (Rider). I can toggle debug mode.

It's just the camera that is unable to detect the game instance.

### Steps to reproduce

This happens everywhere, including on a brand new projects where the only nodes are a 2d camera and the Godot svg icon for testing. This also seems to happen when not using Rider as a third party editor.

### Minimal reproduction project

N/A
Ref<InputEventMouseButton> b = p_event;
	Ref<InputEventMouseMotion> m = p_event;
	
	if (drag_type == DRAG_NONE) {
		if (b.is_valid() && b->get_button_index() == MouseButton::LEFT && b->is_pressed() && tool == TOOL_SELECT) {
			List<CanvasItem *> selection = _get_edited_canvas_items();
			if (selection.size() == 1) {
				CanvasItem *ci = selection[0];
				if (ci->_edit_use_rect() && _is_node_movable(ci)) {
					Rect2 rect = ci->_edit_get_rect();
					Transform2D xform = transform * ci->get_global_transform_with_canvas();
					const Vector2 endpoints[4] = {
						xform.xform(rect.position),
						xform.xform(rect.position + Vector2(rect.size.x, 0)),
						xform.xform(rect.position + rect.size),
						xform.xform(rect.position + Vector2(0, rect.size.y))
					};
					const DragType dragger[] = {
						DRAG_TOP_LEFT,
						DRAG_TOP,
						DRAG_TOP_RIGHT,
						DRAG_RIGHT,
						DRAG_BOTTOM_RIGHT,
						DRAG_BOTTOM,
						DRAG_BOTTOM_LEFT,
						DRAG_LEFT
					};
					DragType resize_drag = DRAG_NONE;