Fixed dumbsh end of screen handling.
Fix dumb off by one error in dumbsh.