When you reload the game the mob that is near a block (or fence, etc...)will be on the centre of it (and it can exit from fence or die if it is on a solid block)
Related issues
Comments

When you reload the game the mob that is near a block (or fence, etc...)will be on the centre of it (and it can exit from fence or die if it is on a solid block)
migrated
(Unassigned)
Unconfirmed
Windows
0.12.0 Win 10
Retrieved
Might be the cause of MCPE-1982