mouse was activated on unknown mouse actions (e.g. middle double click). thanks to petriposio