### 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.
GDCLASS(CreateDialog, ConfirmationDialog);
	enum TypeCategory {
		CPP_TYPE,
		PATH_TYPE,
		OTHER_TYPE
	};
	LineEdit *search_box = nullptr;
	Tree *search_options = nullptr;
	String base_type;
	String icon_fallback;
	String preferred_search_result_type;
	Button *favorite = nullptr;
	Vector<String> favorite_list;
	Tree *favorites = nullptr;
	ItemList *recent = nullptr;
	EditorHelpBit *help_bit = nullptr;
	HashMap<String, TreeItem *> search_options_types;
	HashMap<String, String> custom_type_parents;
	HashMap<String, int> custom_type_indices;
	List<StringName> type_list;
	HashSet<StringName> type_blacklist;
	void _update_search();
	bool _should_hide_type(const String &p_type) const;
	void _add_type(const String &p_type, const TypeCategory p_type_category);
	void _configure_search_option_item(TreeItem *r_item, const String &p_type, const TypeCategory p_type_category);
	String _top_result(const Vector<String> p_candidates, const String &p_search_text) const;