Fixed dragging performance bug.