Fix image OCR not working. Fixes #1