I've seen this happen "randomly" in the past with other versions of mIRC and I have never heard anyone with an answer as to why it happens. Usually, some change or reinstall ends up fixing the problem for the user, but as far as I know, no one has really figured out why the wrapping happens too early.