### 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
ofs -= dir;
				ofsv += dir;
				float max = -1e7, min = 1e7;
				for (int k = 0; k < gcount; k++) {
					const Face3 &f3 = r[k];
					Vector3 res;
					if (f3.intersects_segment(ofs, ofsv, &res)) {
						res -= ofs;
						float d = dir.dot(res);
						if (d < min) {
							min = d;
						}
						if (d > max) {
							max = d;
						}
					}
				}
				if (max < min) {
					continue; 
				}
				float val = min + (max - min) * Math::randf();
				Vector3 point = ofs + dir * val;
				points.push_back(point);
				break;
			}
		}
	}
	return true;
}
void GPUParticles3DEditorBase::_node_selected(const NodePath &p_path) {