Checks that the barcode scanner frame is correct after orientation change