Fixed bug in Tile