auto-sync: draw on idle to avoid flicker/tearing