Fixed an error where the touch delegate is never called, but crashes