Fixed bug with last line not showing.