fix crash in case tesseract/makeboxpage failed
fix rubberBand selection