fix inspector for touch devices
Merge pull request #2720 from kived/inspector-touchdevices

fix inspector for touch devices