tbh I'd grab one of the default MV fence autotiles and compare that. MV's grid is 48x48 while XP's/VX's is 32x32. If you use a 24x24 grid it should break the autotile up well enough for you to see what's happening. It looks like you might have already done that.
(For some reason my browser refuses to let me use the Edit button again)
One more question. Where does this error come from? Is there no way to avoid it, because it was originally made for XP?
Or did I make a mistake when changing the fence from XP to VX?
XP tiles are a very different format than Ace or MV, so yes, a bit of a workaround would be needed to format the XP autotiles to be usable for VX, Ace or MV. It's not just a simple matter of copy/pasting them, sometimes it can take more work than that.
So, yes, technically you made a mistake, but it's not an easy task to begin with.
That's what I thought.
But now I know that I have to start from scratch again. Thanks again!
Doing fences in with the VX/Ace/MV style autotiles is stupid hard. Personally I'd just throw them onto a B-E sheet and be done with it. That way fences can be taller and more interestingly arranged.
I find it easiest to think of the edges and corners first and not worry about the middle until the end. So all four corners makes one fence post, the vertical sides (left and right edges) make a vertical line of fencing, the top and bottom strips make one fence line, ect. This means that the top fence and the bottom fence have to be almost in the same spot. If you look at your tileset you'll see that yours don't do that, the top posts are much higher than your bottom ones, which is why you're getting alignment errors when you try to map with it. As for the corner bits I like to make a single line cross in the editor and screencap it. Then I can see really easily how things need to be aligned to make the corners match up.
I never thought of doing fences with B-E tiles.
Maybe I'll just do that (especially when someone who knows what she's talking about tells me that fence-autotiles are hard to fix).
Up until now I was happy with the status quo and it felt like I was sooooo close with finishing the fence, just that little alignment error from my first post. I see what you mean with the different heights of the posts (and I never noticed that), but that doesn't seem to create any problems I'm aware of. I'm currently running around my map (it contains a lot of that fence) and no matter from which angle I approach it, everything seems fine so far.