Fix drag-drop issues.