### 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
emit_signal(SceneStringNames::get_singleton()->theme_changed);
			_invalidate_theme_cache();
			_update_theme_item_cache();
		} break;
		case NOTIFICATION_TRANSLATION_CHANGED: {
			_invalidate_theme_cache();
			_update_theme_item_cache();
			tr_title = atr(title);
#ifdef DEBUG_ENABLED
			if (window_id == DisplayServer::MAIN_WINDOW_ID) {
				
				
				
				tr_title = vformat("%s (DEBUG)", tr_title);
			}
#endif
			if (!embedder && window_id != DisplayServer::INVALID_WINDOW_ID) {
				DisplayServer::get_singleton()->window_set_title(tr_title, window_id);
				_update_window_size();
			}
		} break;
		case NOTIFICATION_VISIBILITY_CHANGED: {
			if (unparent_when_invisible && !is_visible()) {
				Node *p = get_parent();
				if (p) {
					p->remove_child(this);
				}
			}
		} break;
		case NOTIFICATION_EXIT_TREE: {