Józef Kucia : wined3d: Fix window rect restoring.