vsync() in lua