Scenario: cursor pane is outside view. Pan surface.
Before this commit we were crashing on mouse release.
QAKWM2TYTD5YQ72AU7LLOWF6SVGRLY4HC5LESJ2HT7GK7KKU5LSAC
TGHAJBESCIEGWUE2D3FGLNOIAYT4D2IRGZKRXRMTUFW7QZETC7OAC
ILOA5BYFTQKBSHLFMMZUVPQ2JXBFJD62ERQFBTDK2WSRXUN525VQC
BULPIBEGL7TMK6CVIE7IS7WGAHGOSUJBGJSFQK542MOWGHP2ADQQC
if line_cache.starty == nil then return false end -- outside current page
if line_cache == nil or line_cache.starty == nil then return false end -- outside current page