OCR fix engine is null, when no dictionary has been selected in OCR engine