TilemapParser: fixed check for image collection