Minecraft horses are in a corner?

Ga
4

We have built a large stable for our horses in Minecraft but everyone (11 horses, mules and donkeys) are only standing in one corner. If you hit them, they just come back.

My question is why they are all in one corner.

to

Maybe there's food nearby?

Ga

No

to

Then it's a bug restart the game

Ca

I have exactly the same problem