Typo in tile system -- used if instead of while for adding tile columns to the left.