fix inspector for touch devices