Fix mouse click handling

fix #33
This time in the correct branch