Fixed weak reference of QRScanner