LDtk importer collision offset

Hi!

I'm trying to load an LDtk level into my project using LDtk Importer. Everything seems to work correctly, except for collisions (or tile sprites). Something is offsetted. I'm not sure which element and why.

My first attempt was to offset the tilemap by half of the level's width and height, which gave more correct collision shapes but still had a small offset.

The code for loading the level is straightforward:

function SceneLevel:Load()
    LDtk.load(self.ldtk_path)
    LDtk.load_level(self.level_name)

    self.tilemap = LDtk.create_tilemap(self.level_name)
    self.tilemap_sprite = gfx.sprite.new()
    self.tilemap_sprite:setTilemap(self.tilemap)
    self.tilemap_sprite:add()

    gfx.sprite.addWallSprites(self.tilemap, LDtk.get_empty_tileIDs(self.level_name, "walls"))
end

From the code above is on the left, with offset by half of tilemap size on the right:

How to fix this issue, in LDtk I'm using autotile, it can be a problem?