Sometimes mIRC will set itself 'on top'. Usually occurs when I have multiple Notepad windows open, or several IE windows open. When I right-click on mIRC's titlebar, the 'always on top' option isn't checked. Only way I've been able to fix the error is by closing mIRC, than re-opening it.
I'm using mIRC 6.12 on Windows XP Home.