Shiny renderPlot blurry plots

Everything was working before, after updating the system and packages, the following plot:

  output$plot <- renderPlot({
    ggplot(mpg, aes(hwy, class)) + geom_boxplot()
  })
# plotOutput("plot", height = "800px")

is blurry when displayed. Incresing the res does make things better but still blurry, the fonts are also different.

  output$plot <- renderPlot({
    ggplot(mpg, aes(hwy, class)) + geom_boxplot()
  }, res = 96)

.

I tried

library(Cairo)
options(shiny.usecairo = T)

and loading ragg but its the same.


sessionInfo

R version 4.4.1 (2024-06-14)
Platform: x86_64-pc-linux-gnu
Running under: Arch Linux

Matrix products: default
BLAS:   /usr/lib/libblas.so.3.12.0 
LAPACK: /usr/lib/liblapack.so.3.12.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

time zone: Pacific/Auckland
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] networkD3_0.4        shinyWidgets_0.8.6   DT_0.33             
 [4] plotly_4.10.4        readxl_1.4.3         lubridate_1.9.3     
 [7] forcats_1.0.0        stringr_1.5.1        dplyr_1.1.4         
[10] purrr_1.0.2          readr_2.1.5          tibble_3.2.1        
[13] tidyverse_2.0.0      reshape2_1.4.4       tidyr_1.3.1         
[16] ggthemes_5.1.0       ggplot2_3.5.1        shinydashboard_0.7.2
[19] shiny_1.8.1.1       

loaded via a namespace (and not attached):
 [1] gtable_0.3.5       bslib_0.7.0        htmlwidgets_1.6.4 
 [4] tzdb_0.4.0         crosstalk_1.2.1    vctrs_0.6.5       
 [7] tools_4.4.1        generics_0.1.3     parallel_4.4.1    
[10] fansi_1.0.6        pkgconfig_2.0.3    data.table_1.15.4 
[13] RColorBrewer_1.1-3 lifecycle_1.0.4    farver_2.1.2      
[16] compiler_4.4.1     textshaping_0.4.0  munsell_0.5.1     
[19] fontawesome_0.5.2  httpuv_1.6.15      htmltools_0.5.8.1 
[22] sass_0.4.9         yaml_2.3.8         lazyeval_0.2.2    
[25] crayon_1.5.3       later_1.3.2        pillar_1.9.0      
[28] jquerylib_0.1.4    cachem_1.1.0       mime_0.12         
[31] tidyselect_1.2.1   packrat_0.9.2      digest_0.6.35     
[34] stringi_1.8.4      labeling_0.4.3     fastmap_1.2.0     
[37] grid_4.4.1         colorspace_2.1-0   cli_3.6.3         
[40] magrittr_2.0.3     utf8_1.2.4         withr_3.0.0       
[43] scales_1.3.0       promises_1.3.0     bit64_4.0.5       
[46] timechange_0.3.0   httr_1.4.7         bit_4.0.5         
[49] igraph_2.0.3       cellranger_1.1.0   ragg_1.3.2        
[52] hms_1.1.3          memoise_2.0.1      viridisLite_0.4.2 
[55] rlang_1.1.4        Rcpp_1.0.12        xtable_1.8-4      
[58] glue_1.7.0         renv_1.0.7         rstudioapi_0.16.0 
[61] vroom_1.6.5        jsonlite_1.8.8     R6_2.5.1          
[64] plyr_1.8.9         systemfonts_1.1.0