Fixed the positioning if the event comes from jquery longpress on touch devices