Ah, I see it now. Thanks for the link, I should have found that thread earlier.
Indeed, there can be several mice and keeping the position in global variables is a bad idea here. Will test your patches when you update them. Our automated testing system at ROSA Laboratory is quite similar to os-autoinst, so it is no surprise we ran into the same problem. Thanks again for the info. Regards, Eugene