[Bug 34153] wine does not restore mode of direction keys properly