Fixing drag and drop layout issues.