Decide visibility from the panels drawn last frame instead of re-deriving the maximize rule: a maximized frame shows its front tab, which may be Effect Controls, and hides floating windows. Leave arrows to viewer text editing.