Sounds like you have some kind of background application running that's taking focus away from FFXIV. You might want to check your running processes in Windows Task Manager and kill anything running that you're not familiar with or you don't need running. A virus scan and running a program like HiJackThis to track down any suspicious behavior might be a good idea too.