Are you using mIRC 7.1? If so, you should try the 7.11 beta version and look if you have the problem there as well.
Your problem seems to resemble the problem in
https://forums.mirc.com/ubbthreads.php?ubb=showflat&Number=224966 which is presumably fixed in 7.11.