Fixed an out of bounds exception in the Tile object array