### Godot version

4.0.3.stable

### System information

windows 11

### Issue description

fullscreen on the window node is not working and will show up as a windowed.

### Steps to reproduce

disable Embed Subwindows in Project Settings/Display/Window.
create a window node and set its mode to fullscreen.

### Minimal reproduction project

[fullscreen.zip](https://github.com/godotengine/godot/files/11821834/fullscreen.zip)
ERR_READ_THREAD_GUARD_V(false);
	return visible;
}
Size2i Window::_clamp_window_size(const Size2i &p_size) {
	Size2i window_size_clamped = p_size;
	Size2 minsize = get_clamped_minimum_size();
	window_size_clamped = window_size_clamped.max(minsize);
	if (max_size_used != Size2i()) {
		window_size_clamped = window_size_clamped.min(max_size_used);
	}
	return window_size_clamped;
}
void Window::_update_window_size() {
	Size2i size_limit = get_clamped_minimum_size();
	size = size.max(size_limit);
	bool reset_min_first = false;
	if (max_size_used != Size2i()) {
		
		size = size.min(max_size_used);
		if (size_limit.x > max_size_used.x) {
			size_limit.x = max_size_used.x;
			reset_min_first = true;
		}
		if (size_limit.y > max_size_used.y) {
			size_limit.y = max_size_used.y;
			reset_min_first = true;
		}
	}
	if (embedder) {
		size.x = MAX(size.x, 1);