Fix a regression bug which broke the drag and drop for tabs.
Fix a regression bug which broke the drag and drop for tabs.

sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm