Don't listen to mouse events if the device is touch capable
Merge pull request #1218 from pgiraud/mobile_buttonclick

Don't listen to mouse events if the device is touch capable