Fix panic caused by incorrect buffer positioning when buffer was small enough to entirely fit in the screen
Fix panic caused by incorrect buffer positioning when buffer was small enough to entirely fit in the screen

moncho/dry,moncho/dry