Fixing a typo in a conditional that caused a silent fail on touch events

See: https://github.com/GigaOM/legacy-pro/issues/4220