fix selection on tap to work on iOS 7.1