Fix for debug mode touch listener