Fix dragging files outside of the app

So I tried to do the opposite of #41, and it worked: you can drag any item from the app to outside the app (your desktop or a web browser) and thus, open images or javascript:; strings from the app, which is a bit weird and doesn't seem "encapsulated". Here is the little fix.