Fixed bug with tall layouts

Having a layout that was tall instead of wide caused characters to
render halfway through bottom of screen. This was fixed by treating wide
and tall layouts separately.