If you rename multiple animals with name tags/ anvils you can only see one at a time. I have noticed that in custom maps (like Herobrine's Return) this issue does not appear. All of the horses on the screenshots are renamed either Dinnerbone or Grumm, as you can see because they are upside-down.
Only the name of the mob you're looking at is shown.