Fixed an issue where the click handler was incorrectly processing right clicks.