Thanks for your bug report. I was able to reproduce this issue. The window focus handling in mIRC is really complicated. A large of number of special case situations are handled, added over many years. I have made a change in the next beta that resolves your issue, however we will need to keep an eye out for any side-effects.