Added sam321's Vsync fix (modified by phjanderson)