Fixed issues with button click and panning
Merge pull request #20 from rocketfish/click

Fixed issues with button click and panning