Fix rotated barcodes not being found most of the time.