fix dictionary lookup crash via OCR in scroll mode