Bug in show_menu2 with pages "registered"

If a page was set to „registered“ it was shown in menu. Added a new
check for isVisible() (previous check should be obsolete)…