### Godot version

4.1.1

### System information

Windows 11 - Godot 4.1.1

### Issue description

Using EditorPlugin.make_mesh_previews() crashes Godot. 
The MRP contains a minimal EditorPlugin.

### Steps to reproduce

```
@tool
extends EditorPlugin
 
func _ready():

	var _mesh = preload("res://box.tres")

	var _mesh_arr : Array[Mesh]
	_mesh_arr.append(_mesh)

	var _2d_array : Array[Texture2D] = get_editor_interface().make_mesh_previews(_mesh_arr, 128)

```
### Minimal reproduction project

[MakeMeshPreview.zip](https://github.com/godotengine/godot/files/12269663/MakeMeshPreview.zip)

plugin_list->set_columns(5);
	plugin_list->set_column_titles_visible(true);
	plugin_list->set_column_title(0, TTR("Name"));
	plugin_list->set_column_title(1, TTR("Version"));
	plugin_list->set_column_title(2, TTR("Author"));
	plugin_list->set_column_title(3, TTR("Status"));
	plugin_list->set_column_title(4, TTR("Edit"));
	plugin_list->set_column_expand(0, true);
	plugin_list->set_column_clip_content(0, true);
	plugin_list->set_column_expand(1, false);
	plugin_list->set_column_clip_content(1, true);
	plugin_list->set_column_expand(2, false);
	plugin_list->set_column_clip_content(2, true);
	plugin_list->set_column_expand(3, false);
	plugin_list->set_column_clip_content(3, true);
	plugin_list->set_column_expand(4, false);
	plugin_list->set_column_clip_content(4, true);
	plugin_list->set_column_custom_minimum_width(1, 100 * EDSCALE);
	plugin_list->set_column_custom_minimum_width(2, 250 * EDSCALE);
	plugin_list->set_column_custom_minimum_width(3, 80 * EDSCALE);
	plugin_list->set_column_custom_minimum_width(4, 40 * EDSCALE);
	plugin_list->set_hide_root(true);
	plugin_list->connect("item_edited", callable_mp(this, &EditorPluginSettings::_plugin_activity_changed));
	VBoxContainer *mc = memnew(VBoxContainer);
	mc->add_child(plugin_list);
	mc->set_v_size_flags(SIZE_EXPAND_FILL);
	mc->set_h_size_flags(SIZE_EXPAND_FILL);
	add_child(mc);
}