Release previous not visible page buttons

When all pages are visible (max visible pages < total pages), release any possible not visible page button from a previous rendering. I found this missing case.