fixed crashing bug with touch events.