Fix window mode in gVim.