Mob doesn't move/pathfind closer to the fence to hit the player, even if they would be able to hit the player if they did
Mobs such as Husks/Zombies and Iron Golems don't come closer to the fence to attack the player even if they were able to hit them if they did, as can be seen in the videos.
It also affects Vindicators for example, but it's inconsistent as seen in video 3