I play Minecraft on my cell phone in creative mode and for some reason my horses always disappear. They have straw and grass in their box.
You have to name and tame them by nametag, then they will not despawn
It may be that the dun block has been placed so that it can be placed over the fence.
I do, but they still go away