Fixes orientation of barcode scanner upon rotation change