### 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)
int d;
			if (x >= s.position.x && x < s.size.x) {
				
				closest_rect = s;
				break;
			} else if (x < s.position.x) {
				d = s.position.x - x;
			} else {
				d = x - (s.position.x + s.size.x);
			}
			if (d < closest_dist) {
				closest_dist = d;
				closest_rect = s;
			}
		}
		return closest_rect;
	}
}
void Window::set_clamp_to_embedder(bool p_enable) {
	ERR_MAIN_THREAD_GUARD;
	clamp_to_embedder = p_enable;
}
bool Window::is_clamped_to_embedder() const {
	ERR_READ_THREAD_GUARD_V(false);
	return clamp_to_embedder;
}
void Window::set_unparent_when_invisible(bool p_unparent) {
	unparent_when_invisible = p_unparent;
}
void Window::set_layout_direction(Window::LayoutDirection p_direction) {