Fix pagination visibility