Fixed a bug with right click on touchpad