[ci skip]Fixed a runtime error when tmx-file does not contain the tiles.