Make vgSwapBuffers / requestAnimationFrame shim more hackable for client code.