### Godot version

4.2

### System information

Windows 10

### Issue description

This commit https://github.com/godotengine/godot/commit/72e2e4705942dd01d4befea3380df5d0fe77c363 added `_update_window_size` to `set_title` for some reason:
https://github.com/godotengine/godot/blob/0bf12956a10d216c46368f26b00f6999d000c1d8/scene/main/window.cpp#L287

This causes the Vulkan swapchain to be recreated each time the title is changed causing massive fps loss.

### Steps to reproduce

```
func _process(_delta):
 var title = "fps: %d" % Engine.get_frames_per_second()
 get_window().set_title(title)
```

### Minimal reproduction project

See steps to reproduce
if (!wrap_controls) {
		updating_embedded_window = true;
		call_deferred(SNAME("_update_embedded_window"));
	} else {
		child_controls_changed();
	}
	ThemeDB::get_singleton()->update_class_instance_items(this);
}
void Window::_update_embedded_window() {
	if (!updating_embedded_window) {
		return;
	}
	if (embedder) {
		embedder->_sub_window_update(this);
	};
	updating_embedded_window = false;
}
void Window::set_theme_type_variation(const StringName &p_theme_type) {
	ERR_MAIN_THREAD_GUARD;
	theme_type_variation = p_theme_type;
	if (is_inside_tree()) {
		notification(NOTIFICATION_THEME_CHANGED);
	}
}
StringName Window::get_theme_type_variation() const {