fix crash when dragging image on window without opened editor

git-svn-id: http://svn.code.sf.net/p/texstudio/code/trunk@4153 92cce386-e96d-4106-809f-596c673a3fd8