QR code doesn’t download APK in Chrome when other tabs are open

I have QR code (using Google Charts API) that contains APK file to be downloaded once the QR is scanned on mobile. Using Chrome, when other tabs are open, the file isn’t downloaded after scanning QR but when it’s the only tab in Chrome, it’s been downloaded. Putting the same file path directly in the new tab URL works even with other tabs open!
I tried wrapping <img> with <a> with download and target="_blank" attributes but still doesn’t work. This issue happens only with Chrome. Using Opera, the file is downloaded even if there are many open tabs.
So, what’s the issue with Chrome here and how can I fix it?

Source: Android Questions