only call click-event, when left mouse button is used

this solves the problem for me, that the right mouse button calls the click-event