### Godot version

4.0.2

### System information

Windows 10 x64

### Issue description

![image](https://user-images.githubusercontent.com/2223172/231459722-294d88f9-dae3-4a3f-8e7f-e5340ca0dd25.png)
Both paths point to the same node, but the second one appears as if the node wasn't found. I assume this is because the NodePaths in array don't have the scene's node as "parent", so the path can't be resolved properly.

### Steps to reproduce

1.
```GDScript
@export var np1: NodePath
@export var np2: Array[NodePath]
```
2. Assign the same node
3. Compare the results

### Minimal reproduction project

N/A
switch (p_what) {
		case NOTIFICATION_THEME_CHANGED:
		case NOTIFICATION_ENTER_TREE: {
			Ref<Texture2D> df = get_theme_icon(SNAME("DistractionFree"), SNAME("EditorIcons"));
			open_big_text->set_icon(df);
			Ref<Font> font;
			int font_size;
			if (expression) {
				font = get_theme_font(SNAME("expression"), SNAME("EditorFonts"));
				font_size = get_theme_font_size(SNAME("expression_size"), SNAME("EditorFonts"));
				text->add_theme_font_override("font", font);
				text->add_theme_font_size_override("font_size", font_size);
				if (big_text) {
					big_text->add_theme_font_override("font", font);
					big_text->add_theme_font_size_override("font_size", font_size);
				}
			} else {
				font = get_theme_font(SNAME("font"), SNAME("TextEdit"));
				font_size = get_theme_font_size(SNAME("font_size"), SNAME("TextEdit"));
			}
			text->set_custom_minimum_size(Vector2(0, font->get_height(font_size) * 6));
		} break;
	}
}
void EditorPropertyMultilineText::_bind_methods() {