Fix bounds check in cursor_move

Prior to this commit, cursor_move was responsible
for an off-by-1 error in the check placed on possible
cursor locations.  This resulted in the possibility of the
cursor being drawn off the board.  This commit fixes the logic
checking potential cursor move_locations.