Adding a listener to handle touch cancels.