### Godot version

4.0 fb10f45

### System information

Windows 10 x64

### Issue description

Behold, empty TileSet editor, with no TileMap node nor bottom button visible:
![image](https://github.com/godotengine/godot/assets/2223172/0f052770-4946-40eb-a790-a995dbe2599c)
Regression from #72277 (most likely, I didn't test)

### Steps to reproduce

1. Add some Node to your scene
2. Add a TileMap as a child
3. Select TileMap
4. Fold its parent in the scene tree
5. Restart the editor
6. The TileMap selection is restored and so is the folded node, resulting in a weird paradox

### Minimal reproduction project

N/A
buses = p_buses;
	is_master = p_is_master;
	set_tooltip_text(TTR("Drag & drop to rearrange."));
	VBoxContainer *vb = memnew(VBoxContainer);
	add_child(vb);
	set_v_size_flags(SIZE_EXPAND_FILL);
	track_name = memnew(LineEdit);
	track_name->connect("text_submitted", callable_mp(this, &EditorAudioBus::_name_changed));
	track_name->connect("focus_exited", callable_mp(this, &EditorAudioBus::_name_focus_exit));
	vb->add_child(track_name);
	HBoxContainer *hbc = memnew(HBoxContainer);
	vb->add_child(hbc);
	solo = memnew(Button);
	solo->set_flat(true);
	solo->set_toggle_mode(true);
	solo->set_tooltip_text(TTR("Solo"));
	solo->set_focus_mode(FOCUS_NONE);
	solo->connect("pressed", callable_mp(this, &EditorAudioBus::_solo_toggled));
	hbc->add_child(solo);
	mute = memnew(Button);
	mute->set_flat(true);
	mute->set_toggle_mode(true);
	mute->set_tooltip_text(TTR("Mute"));
	mute->set_focus_mode(FOCUS_NONE);
	mute->connect("pressed", callable_mp(this, &EditorAudioBus::_mute_toggled));
	hbc->add_child(mute);
	bypass = memnew(Button);
	bypass->set_flat(true);
	bypass->set_toggle_mode(true);
	bypass->set_tooltip_text(TTR("Bypass"));