fix issue where touch events were delegated to the wrong view