So I made a program to detect such annoying programs - https://github.com/glaretechnologies/focusmonitor.
I figured out the offending program is C:\Users\nick\AppData\Local\Akamai\installer_no_upload_silent.exe.
Dear Akamai: please fix your annoying program to not steal window focus. Thank you.
I have looked at this program that presumably does the same thing: http://www.happydroid.com/focus, but Windows Defender said it had a virus in it. Not sure if that is true, but I'm hesitant to run unsigned executables from random sources anyway. So I made my own.