It has already been a week since I posted this issue.
I did my best to find a solution. But it still remains unsolved. So I now offer a reward. It’s not much, but this is all I could offer now.
The first to come up with a permanent solution to my issue gets a $10 reward.
Even if you are willing to create an extension for this, you will also have to explain the logic & the reason why it’s happening on certain devices only.
Note: You may have to check the linked topic & comments to understand my actual problem. The topic also contains a video. You can PM me if you have any other doubts.