Fix adding packet offset twice.