Sorry for misunderstanding
There must be some program running in background and stealing focus (like scheduling programs or similar), try to turn off all other programs - one by one to find out which one is responsible