ignore touch events on invisible elements.