Fix bug caused by invalid assumption about cursor position.
Fix bug caused by invalid assumption about cursor position.

It was happening in case if the cursor was moved manually in certain
positions. Rare bug. Anyway... fixed..

termbox/termbox,jaytaph/termbox-1,nsf/termbox,mohsenil85/termbox,nsf/termbox,nsf/termbox,jaytaph/termbox-1,tempbottle/termbox,jaytaph/termbox-1,mohsenil85/termbox,tempbottle/termbox,tempbottle/termbox,termbox/termbox,mohsenil85/termbox,termbox/termbox