Fixed URL drag and drop

Corrected handling of URLs via drag and drop.