I am not sure about how to "prevent" it as plastic pony hair is like anything else if you brush, dust and maintain in the right environment then hair shouldn't suddenly go wild. Wild pony hair is normally a result of ponies which have been thoroughly played with, haven't been stored/cared for properly or have had a tough few years
I am sure there are plenty of threads people can point out about fixing pony hair if that is of any help?