Alright so I’ve done some looking into this today. There was a cascading failure within the livestock system that basically made things break down once you had two barns and once you sold animals. A week or two ago I had to remake the livestock system to more efficiently handle animals in the game. From what I can tell the things you are seeing are a result of that change. Bits of data that didn’t get properly translated when the system changed.
So easy thing first, the animal icons that show when you are placing an animal now show in two rows. Looking back I’m amazed I ever tried one row with that.
As for the other issues. There is code in place to keep you from placing too many animals in a barn or coop. I believe it had issues due to the selling of animals as well as multiple and different tier barns. From what I can tell I have fixed all of this. My only concern for you is I’m not sure exactly how your game will translate it. It’s hard to tell if your structures will remain bugged or if they will recover themselves. That said I guess for now wait till the patch and we’ll go from there.