Hopefully fix for #5 issue - null pointer in Cursor moving.