Ok, so this is not a fix, but a way I've found to make it happen less often. I know you're a mod so you probably end up tabbing out a lot, or just opening a separate tab to look at something like most people. I have found that if you use the steam web browser in-game it makes it much more likely to happen, so if you haven't already set you Arma to run in the back ground even when tabbed out and use a separate browser.