Only ignore tap gestures with non-matching resource IDs