Fix bug where toolbar becomes visible after exiting lion fullscreen
Fix a bug where we get drag events outside the window, causing us to try to look up a line with a bogus index