Tile bug fix