### 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
return device;
}
VkPhysicalDevice VulkanContext::get_physical_device() {
	return gpu;
}
int VulkanContext::get_swapchain_image_count() const {
	return swapchainImageCount;
}
VkQueue VulkanContext::get_graphics_queue() const {
	return graphics_queue;
}
uint32_t VulkanContext::get_graphics_queue_family_index() const {
	return graphics_queue_family_index;
}
VkFormat VulkanContext::get_screen_format() const {
	return format;
}
VkPhysicalDeviceLimits VulkanContext::get_device_limits() const {
	return gpu_props.limits;
}
RID VulkanContext::local_device_create() {
	LocalDevice ld;
	{ 
		VkResult err;
		float queue_priorities[1] = { 0.0 };
		VkDeviceQueueCreateInfo queues[2];
		queues[0].sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO;
		queues[0].pNext = nullptr;
		queues[0].queueFamilyIndex = graphics_queue_family_index;