Carefully manage master page visibility for no-loop mode.
On updatePageCount, redraw master pages