Fixed old unallocated touch events bug