Not sure why the autotiles look like this

Godot Version

4.8.beta1

Question

This is my first time working with autotiles. I’m trying to have a power cable come up as my mining drone moves around. It should be just one continuous line, but it’s coming out like this:

I have a TileMapLayer node dedicated to just these cables. My autotiles are set up like this:

I don’t understand why the corner is showing up, when based on what I have painted, the corner shouldn’t connect with the horizontal tile. My tileset is set up as the following:

You need 16 tiles to for tilemap to function correctly for “Match Sides” mode. You only have tiles with 2 side connections. You are missing tiles that has connection on 3 sides, 4 side and no side connection.
Try adding these tiles as well. If you never need these tiles, then you can also use Line Tool, rather than Draw Tool when autotiling. But I’m not sure it’ll help, just try and see.