The document view zoom actions like Zoom to Fit only apply to
View mode.
In the case of Zoom to Fit, the default keyboard shortcut is
F, which interferes with single-letter keypresses in Browse
mode (to skip to files starting with that letter).
There is an existing function that enables or disables these View
mode actions based on whether ViewMainPage is visible, however this
function isn't called when leaving View mode. This patch ensures
that these actions are updated when ViewMainPage is reset, ensuring
these actions are disabled when View mode is not active.