fix a page button display bug.