Fixed bug with barcode scanning where viewfinder was misleadingly large