fix position reset when dragging outside area