Fix pagination alignment being far too low. Closes #1688