### Godot version

Godot 4 beta 10

### System information

Windows 10, mobile mode

### Issue description

You can give a node a blank name by deleting its name and press enter
![image](https://user-images.githubusercontent.com/94725241/210934227-a3b42f81-f152-470e-be6f-645321b9060e.png)


### Steps to reproduce

1. Create any node
2. Double click it, you should now be able to rename it
3. Backspace, than enter
4. You got a node with no name

### Minimal reproduction project

N/A
MessageQueue::get_singleton()->push_call(this, "_update_tree");
	tree_dirty = true;
}
void SceneTreeEditor::_tree_changed() {
	if (EditorNode::get_singleton()->is_exiting()) {
		return; //speed up exit
	}
	if (pending_test_update) {
		return;
	}
	if (tree_dirty) {
		return;
	}
	MessageQueue::get_singleton()->push_call(this, "_test_update_tree");
	pending_test_update = true;
}
void SceneTreeEditor::_selected_changed() {