One of the things that frequently causes this issue is if you’re connected to a player that does not support HDR, and you have a lot of HDR content in your library.
Now, you may be thinking, “My player definitely supports HDR!” However, your player determines whether it supports HDR based on the EDID information it gets back on HDMI from your display. And we’ve seen certain displays (or HDMI signal chains in general) where when things are powered off, they report incorrect/incomplete/bogus EDID information. This would cause your player to hide from its onscreen display any movies that it thinks you couldn’t play. And this, by extension, would cause Second Screen to hide those movies as well, since it’s designed to track what your onscreen display is showing.
If you were using the app with the TV off, and you turned the TV when you checked the player (or selected the player as the source, etc), it may have been that act rather than switching to the Covers view that caused Second Screen to show the whole library. Nothing about switching onscreen display places should cause that sort of update.