Fixed dragging issues.