### Godot version

v4.0.beta15.official [4fa6edc88]

### System information

Windows10, Forward+, AMD Ryzen 5 5600H with Radeon Graphics

### Issue description

Users can only add Control and Node2D nodes on the Create CanvasItem window, but there are Editor nodes not filtered out. 


### Steps to reproduce

Right-clicking on the 2D viewport. Select the add node feature. A Create CanvasItem window shows. Users can only add Control and Node2D nodes, but there are Editor nodes not filtered out.
![图片](https://user-images.githubusercontent.com/80319225/214565483-98717565-c2e5-41d8-83a0-a985a96fc595.png)

### Minimal reproduction project

No project is needed.
base_type = "Object";
	preferred_search_result_type = "";
	type_blacklist.insert("PluginScript"); 
	type_blacklist.insert("ScriptCreateDialog"); 
	HSplitContainer *hsc = memnew(HSplitContainer);
	add_child(hsc);
	VSplitContainer *vsc = memnew(VSplitContainer);
	hsc->add_child(vsc);
	VBoxContainer *fav_vb = memnew(VBoxContainer);
	fav_vb->set_custom_minimum_size(Size2(150, 100) * EDSCALE);
	fav_vb->set_v_size_flags(Control::SIZE_EXPAND_FILL);
	vsc->add_child(fav_vb);
	favorites = memnew(Tree);
	favorites->set_hide_root(true);
	favorites->set_hide_folding(true);
	favorites->set_allow_reselect(true);
	favorites->connect("cell_selected", callable_mp(this, &CreateDialog::_favorite_selected));
	favorites->connect("item_activated", callable_mp(this, &CreateDialog::_favorite_activated));
	favorites->add_theme_constant_override("draw_guides", 1);
	SET_DRAG_FORWARDING_GCD(favorites, CreateDialog);
	fav_vb->add_margin_child(TTR("Favorites:"), favorites, true);
	VBoxContainer *rec_vb = memnew(VBoxContainer);
	vsc->add_child(rec_vb);
	rec_vb->set_custom_minimum_size(Size2(150, 100) * EDSCALE);
	rec_vb->set_v_size_flags(Control::SIZE_EXPAND_FILL);
	recent = memnew(ItemList);
	rec_vb->add_margin_child(TTR("Recent:"), recent, true);
	recent->set_allow_reselect(true);
	recent->connect("item_selected", callable_mp(this, &CreateDialog::_history_selected));