### 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_MAIN_THREAD_GUARD;
	ERR_FAIL_INDEX((int)p_direction, 4);
	layout_dir = p_direction;
	propagate_notification(Control::NOTIFICATION_LAYOUT_DIRECTION_CHANGED);
}
Window::LayoutDirection Window::get_layout_direction() const {
	ERR_READ_THREAD_GUARD_V(LAYOUT_DIRECTION_INHERITED);
	return layout_dir;
}
bool Window::is_layout_rtl() const {
	ERR_READ_THREAD_GUARD_V(false);
	if (layout_dir == LAYOUT_DIRECTION_INHERITED) {
		if (GLOBAL_GET(SNAME("internationalization/rendering/force_right_to_left_layout_direction"))) {
			return true;
		}
		Node *parent_node = get_parent();
		while (parent_node) {
			Control *parent_control = Object::cast_to<Control>(parent_node);
			if (parent_control) {
				return parent_control->is_layout_rtl();
			}
			Window *parent_window = Object::cast_to<Window>(parent_node);
			if (parent_window) {
				return parent_window->is_layout_rtl();
			}
			parent_node = parent_node->get_parent();
		}
		int root_dir = GLOBAL_GET(SNAME("internationalization/rendering/root_node_layout_direction"));
		if (root_dir == 1) {
			return false;