### 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
_generate_aabb();
			}
		} break;
		case MENU_OPTION_CREATE_EMISSION_VOLUME_FROM_NODE: {
			Ref<ParticleProcessMaterial> mat = node->get_process_material();
			if (mat.is_null()) {
				EditorNode::get_singleton()->show_warning(TTR("A processor material of type 'ParticleProcessMaterial' is required."));
				return;
			}
			emission_tree_dialog->popup_scenetree_dialog();
		} break;
		case MENU_OPTION_CONVERT_TO_CPU_PARTICLES: {
			CPUParticles3D *cpu_particles = memnew(CPUParticles3D);
			cpu_particles->convert_from_particles(node);
			cpu_particles->set_name(node->get_name());
			cpu_particles->set_transform(node->get_transform());
			cpu_particles->set_visible(node->is_visible());
			cpu_particles->set_process_mode(node->get_process_mode());
			EditorUndoRedoManager *ur = EditorUndoRedoManager::get_singleton();
			ur->create_action(TTR("Convert to CPUParticles3D"));
			SceneTreeDock::get_singleton()->replace_node(node, cpu_particles);
			ur->commit_action(false);
		} break;
		case MENU_OPTION_RESTART: {
			node->restart();
		} break;
	}
}
void GPUParticles3DEditor::_generate_aabb() {