Fix didTapAtIndex bug