fix element position when starting dragging