Fix a slew of bugs related to Tile being a struct