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