It’s an issue with firefox https://discussions.unity.com/t/odd-issue-with-focus-in-firefox/1651226
Oh damn I was wrong. Well since it's an issue that other people are experiencing, it should hopefully get fixed.