[PATCH v2 3/5] winex11: Create XImage before initializing the window surface.