Does this work without setting surface? tset.tiles[index].tile should be empty by default.