This only happens on initial attachment. Any further resizing of active context fixes the issue. glViewPort is correctly (?) called with DPI scaled coordinates,

It's possibly something about per-thread scale awareness:
https://stackoverflow.com/questions/47049651/opengl-and-windows-10-per-monitor-aware-dpi-scaling
Also note that JUCE in december of 2025 recently changed a range of stuff related to DPI and windows, maybe it will just be fixed automatically later.
This only happens on initial attachment. Any further resizing of active context fixes the issue.
glViewPortis correctly (?) called with DPI scaled coordinates,It's possibly something about per-thread scale awareness:
https://stackoverflow.com/questions/47049651/opengl-and-windows-10-per-monitor-aware-dpi-scaling
Also note that JUCE in december of 2025 recently changed a range of stuff related to DPI and windows, maybe it will just be fixed automatically later.