Improved mouse tracking. Synthezised button clicks for zooming and panning (!)