AF through a fence

So I was at a local Zoo and my trusty A6400 struggled to focus through the fences. Luckily I had a lens that I could switch to MF.

My question is, do later models (APS-C or F.F) have this resolved or is this still a problem.