### Godot version

4.1.3 stable.arch_linux

### System information

Artix Linux Godot v4.1.3 stable.arch_linux

### Issue description

The Node selection window in "Create Emission Points From Node" doesn't filter out Node3D Nodes. 
![2023-11-14T16:00:12,622759893+01:00](https://github.com/godotengine/godot/assets/92468390/9b3e2a28-21c6-4447-9c22-579968cc41fd)
Trying to select any non Node3D instance gives an error message ""{NodeType}" doesn't inherit from Node3D".

### Steps to reproduce

1. Create a 3D particle emitter
2. Create a non Node3D Node
3. Click on the "Create Emission Points From Node" option over the viewport.
4. The non Node3D Node appears to be selectable when it shouldn't

### Minimal reproduction project

N/A
particles_editor->edit(Object::cast_to<GPUParticles3D>(p_object));
}
bool GPUParticles3DEditorPlugin::handles(Object *p_object) const {
	return p_object->is_class("GPUParticles3D");
}
void GPUParticles3DEditorPlugin::make_visible(bool p_visible) {
	if (p_visible) {
		particles_editor->show();
		particles_editor->particles_editor_hb->show();
	} else {
		particles_editor->particles_editor_hb->hide();
		particles_editor->hide();
		particles_editor->edit(nullptr);
	}
}
GPUParticles3DEditorPlugin::GPUParticles3DEditorPlugin() {
	particles_editor = memnew(GPUParticles3DEditor);
	EditorNode::get_singleton()->get_main_screen_control()->add_child(particles_editor);
	particles_editor->hide();
}
GPUParticles3DEditorPlugin::~GPUParticles3DEditorPlugin() {
}