Fixed bug causing the top row of messages to be cut off