### Godot version

v4.0.3.stable.official [5222a99f5]

### System information

Windows 11, AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx     2.10 GHz

### Issue description

  The editor crashes when it is minimised if it isn't the foreground window, eg. via Windows key + M.  This didn't occur in 4.0.2, but is now occurring in 4.0.3. I'll just mention that /interface/editor/save_on_focus_loss is false because another issue mentions something like this but with that property set to true.

### Steps to reproduce

N/A

### Minimal reproduction project

N/A
vrs_capabilities.texel_size.x = CLAMP(16, vrs_capabilities.min_texel_size.x, vrs_capabilities.max_texel_size.x);
					vrs_capabilities.texel_size.y = CLAMP(16, vrs_capabilities.min_texel_size.y, vrs_capabilities.max_texel_size.y);
					print_verbose(String("  Attachment fragment shading rate") + String(", min texel size: (") + itos(vrs_capabilities.min_texel_size.x) + String(", ") + itos(vrs_capabilities.min_texel_size.y) + String(")") + String(", max texel size: (") + itos(vrs_capabilities.max_texel_size.x) + String(", ") + itos(vrs_capabilities.max_texel_size.y) + String(")"));
				}
			} else {
				print_verbose("- Vulkan Variable Rate Shading not supported");
			}
			if (multiview_capabilities.is_supported) {
				multiview_capabilities.max_view_count = multiviewProperties.maxMultiviewViewCount;
				multiview_capabilities.max_instance_count = multiviewProperties.maxMultiviewInstanceIndex;
				print_verbose("- Vulkan multiview supported:");
				print_verbose("  max view count: " + itos(multiview_capabilities.max_view_count));
				print_verbose("  max instances: " + itos(multiview_capabilities.max_instance_count));
			} else {
				print_verbose("- Vulkan multiview not supported");
			}
			print_verbose("- Vulkan subgroup:");
			print_verbose("  size: " + itos(subgroup_capabilities.size));
			print_verbose("  stages: " + subgroup_capabilities.supported_stages_desc());
			print_verbose("  supported ops: " + subgroup_capabilities.supported_operations_desc());
			if (subgroup_capabilities.quadOperationsInAllStages) {
				print_verbose("  quad operations in all stages");
			}
		} else {
			print_verbose("- Couldn't call vkGetPhysicalDeviceProperties2");
		}
	}
	return OK;
}
Error VulkanContext::_create_instance() {