fix lag on windows, vsync default setting is on, fix cursor while moving object