Fix win.setPosition not work at linux