Just bought a sheep and leashed it with my own 2m rope, rather then default 5m rope you get when buying an animal. The sheep immediately started escaping. As soon as I unleashed it and then leashed with 5m rope, the sheep calmed down.
UPD.: This strange behaviour persist. Just leashed my sheep with 2m rope and it started escaping again.