### 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
Ref<Environment> fallback = get_tree()->get_root()->get_world_3d()->get_fallback_environment();
	if (fallback.is_valid() && fallback->get_path().is_resource_file()) {
		HashMap<Ref<Resource>, bool> processed;
		_find_and_save_edited_subresources(fallback.ptr(), processed, 0);
		save_resource_in_path(fallback, fallback->get_path());
	}
}
void EditorNode::hide_top_editors() {
	_display_top_editors(false);
	editor_plugins_over->clear();
}
void EditorNode::_display_top_editors(bool p_display) {