QUASAR: Fix some layout bugs if the page numbers got too big