Fix crash on drag and drop.