### 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
screen_size.y = video_mode.x / viewport_aspect;
			}
		}
		screen_size = screen_size.floor();
		viewport_size = viewport_size.floor();
		if (content_scale_stretch == Window::CONTENT_SCALE_STRETCH_INTEGER) {
			Size2i screen_scale = (screen_size / viewport_size).floor();
			int scale_factor = MIN(screen_scale.x, screen_scale.y);
			if (scale_factor < 1) {
				scale_factor = 1;
			}
			screen_size = viewport_size * scale_factor;
		}
		Size2 margin;
		Size2 offset;
		if (screen_size.x < video_mode.x) {
			margin.x = Math::round((video_mode.x - screen_size.x) / 2.0);
			offset.x = Math::round(margin.x * viewport_size.y / screen_size.y);
		}
		if (screen_size.y < video_mode.y) {
			margin.y = Math::round((video_mode.y - screen_size.y) / 2.0);
			offset.y = Math::round(margin.y * viewport_size.x / screen_size.x);
		}
		switch (content_scale_mode) {
			case CONTENT_SCALE_MODE_DISABLED: {
				
				
			} break;
			case CONTENT_SCALE_MODE_CANVAS_ITEMS: {
				final_size = screen_size;