I wonder if it has anything to do with the custom tick loop I had. If you unfocus the game, multiple engine ticks will run at once when you focus back, so maybe that caused an issue with GC or memory allocation per frame in the browser...
Good luck in your run(s)!