Fix long press behavior in iOS.