### Tested versions

Caused by [0d6300d269b818e6c3d3ea9cbc592480103aa6d0] Fix folder color not showing up in file dialogs
https://github.com/godotengine/godot/pull/84837
(git bisection)

### System information

Godot v4.3.dev (6faa5c6dc) - Fedora Linux 39 (Workstation Edition) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX Vega (RADV VEGA10) () - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)

### Issue description

When opening the export path, it results in a black popup.

![image](https://github.com/godotengine/godot/assets/270928/d67dee6a-f1e1-4bf3-8a3f-419554269f4a)


### Steps to reproduce

1. Open export settings
2. Add an export target
3. Try to select an export path

### Minimal reproduction project (MRP)

n/a
mode_thumbnails->set_pressed(display_mode == DISPLAY_THUMBNAILS);
	mode_thumbnails->set_button_group(view_mode_group);
	mode_thumbnails->set_tooltip_text(TTR("View items as a grid of thumbnails."));
	pathhb->add_child(mode_thumbnails);
	mode_list = memnew(Button);
	mode_list->set_theme_type_variation("FlatButton");
	mode_list->connect("pressed", callable_mp(this, &EditorFileDialog::set_display_mode).bind(DISPLAY_LIST));
	mode_list->set_toggle_mode(true);
	mode_list->set_pressed(display_mode == DISPLAY_LIST);
	mode_list->set_button_group(view_mode_group);
	mode_list->set_tooltip_text(TTR("View items as a list."));
	pathhb->add_child(mode_list);
	shortcuts_container = memnew(HBoxContainer);
	pathhb->add_child(shortcuts_container);
	drives = memnew(OptionButton);
	drives->connect("item_selected", callable_mp(this, &EditorFileDialog::_select_drive));
	pathhb->add_child(drives);
	makedir = memnew(Button);
	makedir->set_text(TTR("Create Folder"));
	makedir->connect("pressed", callable_mp(this, &EditorFileDialog::_make_dir));
	pathhb->add_child(makedir);
	body_hsplit = memnew(HSplitContainer);
	body_hsplit->set_v_size_flags(Control::SIZE_EXPAND_FILL);
	vbc->add_child(body_hsplit);
	list_hb = memnew(HSplitContainer);
	list_hb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
	body_hsplit->add_child(list_hb);
	VSplitContainer *vsc = memnew(VSplitContainer);
	list_hb->add_child(vsc);
	VBoxContainer *fav_vb = memnew(VBoxContainer);