Sharpened logic for inserting QR code in the bottom left corner