Adapt to PDF.js v1.0.68. Touches #71.
TextRange: handle an error case