### 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
renderer->add_theme_font_override("font", gui_base->get_theme_font(SNAME("bold"), SNAME("EditorFonts")));
	renderer->add_theme_font_size_override("font_size", gui_base->get_theme_font_size(SNAME("bold_size"), SNAME("EditorFonts")));
	renderer->set_tooltip_text(TTR("Choose a renderer."));
	right_menu_hb->add_child(renderer);
	if (can_expand) {
		
		right_menu_spacer = memnew(Control);
		right_menu_spacer->set_mouse_filter(Control::MOUSE_FILTER_PASS);
		menu_hb->add_child(right_menu_spacer);
	}
	String current_renderer = GLOBAL_GET("rendering/renderer/rendering_method");
	PackedStringArray renderers = ProjectSettings::get_singleton()->get_custom_property_info().get(StringName("rendering/renderer/rendering_method")).hint_string.split(",", false);
	
	
	current_renderer = current_renderer.to_lower();
	for (int i = 0; i < renderers.size(); i++) {
		String rendering_method = renderers[i];
		
		if (rendering_method == "forward_plus") {
			renderer->add_item(TTR("Forward+"));
		}
		if (rendering_method == "mobile") {
			renderer->add_item(TTR("Mobile"));
		}
		if (rendering_method == "gl_compatibility") {
			renderer->add_item(TTR("Compatibility"));
		}
		renderer->set_item_metadata(i, rendering_method);
		
		rendering_method = rendering_method.to_lower();