ENH: Better AV timing by moving on-flip functions
FIX: revert unnecessary change
Merge pull request #423 from Eric89GXL/sync-fix

FIX: Pyglet vsync fix