If the filter filters out touchDown it also has to always filter out the matching touchUp (cherry picked from commit 0c7d9785)