It's odd indeed. mirc is the only app that can do this on my system (btw, the "prevent apps from stealing focus" setting isn't on by default afaik; I enabled it with TweakUI)