Here is a mob that we can see has a small collisionbox which does not include its head and tail -when this mob is facing a tree his head will always be hidden inside the tree.
Here is a mob with huge collisionbox just to stop the mob from colliding into trees and stuff but here comes another problem collisionbox is to big also big eyesore. and when mob is walking on the edge of cliff it looks like he is levitating.
What i think should fix this is that collision boxes should rotate with the mobs. So depending where mob is facing there should also be its collision box. And if possible to make collisionbox of mobs more fixed like this wooden fence is.