Fixed bug with cursor Down and clearing of display when bottom margin and/or top margin was set.