Fix for a strange bug in the mouse handling which would move the focus around in strange ways.
Fix for a strange bug in the mouse handling which would move the focus around in strange ways.

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