howdy Tsumi and welcome to the forums!

if you use synergy to mouse between machines, that is common.
if they are all on the one machine, try turning off the 'focus follows mouse' and see if that helps.

let me know how it goes,

Rob