In compact mode, when a server reconnects, mIRC restores all minimized (hidden) windows. This also has the side effect of marking all windows as read.
It would be nice if this could not happen or at least be disabled through the options.