### Godot version

v4.0.beta12.mono.official [3c9bf4bc2]

### System information

Windows 10, Forward+ (Vulkan), NVIDIA GeForce RTX 3070 (526.98)

### Issue description

The `Initial Screen` select dropdown provides 64 options for monitors when it should only provide options for what is available.  In my case, I'm only using two monitors so there should only be two monitors to choose from (excluding the Primary Monitor option of course).  Screenshot below.

![image](https://user-images.githubusercontent.com/1691061/213066149-b97d3220-9b23-4685-a155-ad2f48f96de3.png)


### Steps to reproduce

The issue appears to occur whether I'm using two monitors or one monitor.

---
1. Open `Project Settings`
2. Go to `Display` > `Window` > `Size`
3. Select the `Initial Screen` dropdown.
4. You will see the `Primary Monitor` option and 64 other monitor options as seen in the screenshot.

### Minimal reproduction project

N/A
}
	OS::get_singleton()->add_frame_delay(DisplayServer::get_singleton()->window_can_draw());
#ifdef TOOLS_ENABLED
	if (auto_build_solutions) {
		auto_build_solutions = false;
		/
		if (!editor) {
			OS::get_singleton()->set_exit_code(EXIT_FAILURE);
			ERR_FAIL_V_MSG(true,
					"Command line option --build-solutions was passed, but no project is being edited. Aborting.");
		}
		if (!EditorNode::get_singleton()->call_build()) {
			OS::get_singleton()->set_exit_code(EXIT_FAILURE);
			ERR_FAIL_V_MSG(true,
					"Command line option --build-solutions was passed, but the build callback failed. Aborting.");
		}
	}
#endif
	return exit || auto_quit;
}
void Main::force_redraw() {
	force_redraw_requested = true;
}
/* Engine deinitialization
 *
 * Responsible for freeing all the memory allocated by previous setup steps,
 * so that the engine closes cleanly without leaking memory or crashing.
 * The order matters as some of those steps are linked with each other.
 */
void Main::cleanup(bool p_force) {