Fix offset calculation for CONTINUATION frames