Fix line/col offsets in certain cases