### Godot version

Godot 4 beta 12

### System information

Windows 10

### Issue description

![tttttt](https://user-images.githubusercontent.com/43501741/212407759-2e3cfa93-c9c1-4224-a118-2d236b0c5318.png)


### Steps to reproduce

Run a project in Godot 4 beta 12

### Minimal reproduction project

N/A
_menu_option_confirm(RUN_STOP, true);
	_run(false);
}
void EditorNode::run_play_current() {
	_save_default_environment();
	_menu_option_confirm(RUN_STOP, true);
	_run(true);
}
void EditorNode::run_play_custom(const String &p_custom) {
	bool is_current = !run_current_filename.is_empty();
	_menu_option_confirm(RUN_STOP, true);
	_run(is_current, p_custom);
}
void EditorNode::run_stop() {
	_menu_option_confirm(RUN_STOP, false);
}
bool EditorNode::is_run_playing() const {
	EditorRun::Status status = editor_run.get_status();
	return (status == EditorRun::STATUS_PLAY || status == EditorRun::STATUS_PAUSED);
}
String EditorNode::get_run_playing_scene() const {
	String run_filename = editor_run.get_running_scene();
	if (run_filename.is_empty() && is_run_playing()) {
		run_filename = GLOBAL_GET("application/run/main_scene"); 
	}
	return run_filename;
}
void EditorNode::_immediate_dialog_confirmed() {