On some rare occasions and for an unknown reason, I end up with mirc being "on top" while the menu item wasn't checked. The solution is to check it and then uncheck it again.