Fixed issue causing PuTTY to not correctly show grid.