Fix some bugs regarding multiple tilesets in map, more accurately reflext Tiled behavior