Update:
Started happening again. It might have to do with any of the following extensions I installed;
ViolentMonkey (Chrome Web Store), 2FAS (Firefox Addons), Revolut Shopper (Chrome Web Store).
I still have no definitive reproduce method for this bug, but it might have to do with one of these extensions. I'll delete them one by one and see if that has any impact.