LP1831390: Fixing implementation of registerOnTouch