Some more details...

The OS is Win98SE.

The problem appears to be more pronounced when there are more applications running, besides mIRC, though it's not about lack of CPU time. Perhaps GDI related somehow?