Setting vsync to true