Problems with separated tile sprites on TileMaps

Godot Version

Godot 4.4.1

Question

I'm been working on a 2D game and right now I'm dealing with the map. I'm using TileMap and have made three layers, one for dirt, one for floor tiles and one for trees. Everything was working until I tried making a hedge (which will stop the player from leaving the area).

First I put the tiles on the trees layer and then "drew" the sprites on the map. However, the tiles are left with a noticeable gap between them even at their closest. I tried to change the Tile Size in the Inspector to fix it, this closes the gap, but it also makes the othertiles get all smushed together. I already tried giving the hedge its own layer too, but it didn't change anything.

What could be done to solve this?