I have the same problem, and it drives me nuts!

See:

[Keyclone] Mouse cursor jumping windows.

Someone suggested that turning off "focus follows mouse" removes the problem, but that's not a good solution for me because it then needs more clicks.