wined3d: The swapchain should always have a window handle.