instead of excluding only right clicks, you should check that it is a left click. Otherwise, you will have the same issue with other buttons for mouses with more buttons