make sure setTile is given a tile