I have tried with Unity, since it's what i have here, and it worked well. I tried with open-source engines, like Sauerbraten and Darkplaces, and it also worked OK. I'm on Windows, btw.
But, as you guys said, the problem is only on the unfocused window in T3D.