Fixes for touch devices

Lots of weirdness going on with touch devices, since we lose some of
the events because the elements are disappearing.