This is the reason why players do not see cows flying around ... that using two solid blocks as fences would fix the issue, but would make things look odd.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results