Position drag handler according to element.