Fixed IllegalArgumentException when overwriting Tile ID.