Consider that the mouse's wireless signal may be a victim of some outside interference by other wireless devices, phones, keyboard, wireless network adapters, etc. Try experimenting using different channels / frequencies to avoid potential conflicts or overlaps. Does the problem only present when you are using a browser? Can you use the old keyboard alt + tab to change the focus?