### 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
TreeItem *item = Object::cast_to<TreeItem>(p_object);
	ERR_FAIL_COND(!item);
	if (!item->is_visible()) {
		return;
	}
	NodePath np = item->get_metadata(0);
	Node *n = get_node(np);
	if (!n) {
		return;
	}
	if (!editor_selection) {
		return;
	}
	if (p_selected) {
		editor_selection->add_node(n);
	} else {
		editor_selection->remove_node(n);
	}
	// Emitted "selected" in _selected_changed() when select single node, so select multiple node emit "changed"
	if (editor_selection->get_selected_nodes().size() > 1) {
		emit_signal(SNAME("node_changed"));
	}
}
void SceneTreeEditor::_notification(int p_what) {