### Godot version

v4.1.dev4

### System information

Linux Debian 11, Vulkan, NVIDIA GeForce GTX 1050

### Issue description

When add 3D mesh to a scene, by drag&drop from files menu, it appears correctly, but after move cursor outside the 3D space, such as over nodes menu, Godot crashes. I tested *.obj and *.glb files, both have the same effect.
The error happens in version 4.1.dev4, in version 4.1.dev3 it did not occurred.

```
Godot Engine v4.1.dev4.official.5c2295ff5 - https://godotengine.org
ERROR: Resource file not found: res://InputEventKey_w4so0.
   at: _load (core/io/resource_loader.cpp:278)
OpenGL API 3.3.0 NVIDIA 470.182.03 - Compatibility - Using Device: NVIDIA Corporation - NVIDIA GeForce GTX 1050
 
Editing project: /tmp/a
Godot Engine v4.1.dev4.official.5c2295ff5 - https://godotengine.org
ERROR: Resource file not found: res://InputEventKey_w4so0.
   at: _load (core/io/resource_loader.cpp:278)
Vulkan API 1.2.175 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1050
ERROR: Can't add child '@Node3D@17485' to '@SubViewport@9228', already has a parent '@SubViewport@9228'.
   at: add_child (scene/main/node.cpp:1385)
ERROR: Children name does not match parent name in hashtable, this is a bug.
   at: remove_child (scene/main/node.cpp:1434)
ERROR: Condition "p_child->data.parent != this" is true.
   at: remove_child (scene/main/node.cpp:1411)
ERROR: Index p_index = 0 is out of bounds ((int)data.children_cache.size() = 0).
   at: get_child (scene/main/node.cpp:1497)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.1.dev4.official (5c2295ff538312884115c2b7a3aec1e301b8b954)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x38d60) [0x7f98180b2d60] (??:0)
[2] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x2c9521a] (??:0)
[3] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x24b876f] (??:0)
[4] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x242f6fa] (??:0)
[5] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x47d7aa1] (??:0)
[6] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x2e27c01] (??:0)
[7] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x476b0e4] (??:0)
[8] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x4db324a] (??:0)
[9] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x2d38845] (??:0)
[10] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x2d3bde6] (??:0)
[11] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x2d632f5] (??:0)
[12] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0xea3ef0] (??:0)
[13] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x453bbe3] (??:0)
[14] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0x453ce2e] (??:0)
[15] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0xea459f] (??:0)
[16] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0xe34193] (??:0)
[17] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f981809dd0a] (??:0)
[18] /home/krzmig/Programy/Godot_v4.1-dev4_linux.x86_64() [0xe6500e] (??:0)
-- END OF BACKTRACE --
================================================================
```

### Steps to reproduce

1. Create new 3D scene.
2. Drag mesh (I tested obj and glb) into 3D space.
3. Move cursor outside the 3D space.

### Minimal reproduction project

N/A
ClassDB::bind_method(D_METHOD("set_multiplayer_authority", "id", "recursive"), &Node::set_multiplayer_authority, DEFVAL(true));
	ClassDB::bind_method(D_METHOD("get_multiplayer_authority"), &Node::get_multiplayer_authority);
	ClassDB::bind_method(D_METHOD("is_multiplayer_authority"), &Node::is_multiplayer_authority);
	ClassDB::bind_method(D_METHOD("get_multiplayer"), &Node::get_multiplayer);
	ClassDB::bind_method(D_METHOD("rpc_config", "method", "config"), &Node::rpc_config);
	ClassDB::bind_method(D_METHOD("set_editor_description", "editor_description"), &Node::set_editor_description);
	ClassDB::bind_method(D_METHOD("get_editor_description"), &Node::get_editor_description);
	ClassDB::bind_method(D_METHOD("_set_import_path", "import_path"), &Node::set_import_path);
	ClassDB::bind_method(D_METHOD("_get_import_path"), &Node::get_import_path);
	ClassDB::bind_method(D_METHOD("set_unique_name_in_owner", "enable"), &Node::set_unique_name_in_owner);
	ClassDB::bind_method(D_METHOD("is_unique_name_in_owner"), &Node::is_unique_name_in_owner);
#ifdef TOOLS_ENABLED
	ClassDB::bind_method(D_METHOD("_set_property_pinned", "property", "pinned"), &Node::set_property_pinned);
#endif
	ADD_PROPERTY(PropertyInfo(Variant::NODE_PATH, "_import_path", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL), "_set_import_path", "_get_import_path");
	{
		MethodInfo mi;
		mi.arguments.push_back(PropertyInfo(Variant::STRING_NAME, "method"));
		mi.name = "rpc";
		ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "rpc", &Node::_rpc_bind, mi);
		mi.arguments.push_front(PropertyInfo(Variant::INT, "peer_id"));
		mi.name = "rpc_id";
		ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "rpc_id", &Node::_rpc_id_bind, mi);
	}
	ClassDB::bind_method(D_METHOD("update_configuration_warnings"), &Node::update_configuration_warnings);
	{
		MethodInfo mi;
		mi.name = "call_deferred_thread_group";
		mi.arguments.push_back(PropertyInfo(Variant::STRING_NAME, "method"));
		ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "call_deferred_thread_group", &Node::_call_deferred_thread_group_bind, mi, varray(), false);