Fixed qr code rendering