Fix bug, active indicator disappears when changing page.