It seems that animal mobs (sheeps, cows, pigs) are trying to break out of my fence instead of going in the middle and moving around. This makes it really frustrating when trying to mate the animals because they break out right when I open the fence gate. Is there a way that I can keep them from scrunching up on the side of the fence and frustrating me, or is this something I'll have to deal with?