### 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 (_try_parent_dialog(p_from_node)) {
		popup_centered_ratio(p_ratio);
	}
}
void Window::popup_exclusive_centered_clamped(Node *p_from_node, const Size2i &p_size, float p_fallback_ratio) {
	if (_try_parent_dialog(p_from_node)) {
		popup_centered_clamped(p_size, p_fallback_ratio);
	}
}
Rect2i Window::fit_rect_in_parent(Rect2i p_rect, const Rect2i &p_parent_rect) const {
	ERR_READ_THREAD_GUARD_V(Rect2i());
	Size2i limit = p_parent_rect.size;
	if (p_rect.position.x + p_rect.size.x > limit.x) {
		p_rect.position.x = limit.x - p_rect.size.x;
	}
	if (p_rect.position.y + p_rect.size.y > limit.y) {
		p_rect.position.y = limit.y - p_rect.size.y;
	}
	if (p_rect.position.x < 0) {
		p_rect.position.x = 0;
	}
	int title_height = get_flag(Window::FLAG_BORDERLESS) ? 0 : theme_cache.title_height;
	if (p_rect.position.y < title_height) {
		p_rect.position.y = title_height;
	}
	return p_rect;
}
Size2 Window::get_contents_minimum_size() const {