Fix for QRCode bug