Drag-and-drop: don't save wrong referer and source window