### 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
double time = generate_seconds->get_value();
	double running = 0.0;
	EditorProgress ep("gen_aabb", TTR("Generating Visibility AABB (Waiting for Particle Simulation)"), int(time));
	bool was_emitting = node->is_emitting();
	if (!was_emitting) {
		node->set_emitting(true);
		OS::get_singleton()->delay_usec(1000);
	}
	AABB rect;
	while (running < time) {
		uint64_t ticks = OS::get_singleton()->get_ticks_usec();
		ep.step("Generating...", int(running), true);
		OS::get_singleton()->delay_usec(1000);
		AABB capture = node->capture_aabb();
		if (rect == AABB()) {
			rect = capture;
		} else {
			rect.merge_with(capture);
		}
		running += (OS::get_singleton()->get_ticks_usec() - ticks) / 1000000.0;
	}
	if (!was_emitting) {
		node->set_emitting(false);
	}
	EditorUndoRedoManager *ur = EditorUndoRedoManager::get_singleton();
	ur->create_action(TTR("Generate Visibility AABB"));
	ur->add_do_method(node, "set_visibility_aabb", rect);