Fixed crash in ocr (when bitmap not found)