### 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
Color color = get_theme_color(SNAME("font_color"), SNAME("Editor"));
	color.a = 0.8;
	Ref<Font> font = get_theme_font(SNAME("font"), SNAME("Label"));
	int font_size = get_theme_font_size(SNAME("font_size"), SNAME("Label"));
	Size2 text_size = font->get_string_size(p_string, HORIZONTAL_ALIGNMENT_LEFT, -1, font_size);
	switch (p_side) {
		case SIDE_LEFT:
			p_position += Vector2(-text_size.x - 5, text_size.y / 2);
			break;
		case SIDE_TOP:
			p_position += Vector2(-text_size.x / 2, -5);
			break;
		case SIDE_RIGHT:
			p_position += Vector2(5, text_size.y / 2);
			break;
		case SIDE_BOTTOM:
			p_position += Vector2(-text_size.x / 2, text_size.y + 5);
			break;
	}
	viewport->draw_string(font, p_position, p_string, HORIZONTAL_ALIGNMENT_LEFT, -1, font_size, color);
}
void CanvasItemEditor::_draw_margin_at_position(int p_value, Point2 p_position, Side p_side) {