Fixing show/hide visibility (refs #19195)