Rendering Issue Windows Scaling

I’ve seen this posted a few times around the forum but none of the tricks seem to work. I am using juce 8.0.8 and have an issue related to windows scaling on windows 11. I have two opengl windows that seem to not be able to respect scaling as what is being drawn in them will only occupy 1/4 when at greater than 100% scaling. I noticed a similar behavior with a juce window that uses a juce viewport. The window size is scaled down incredibly small, to the minimal size it can be in windows (you just see a floating X button basically). Both these issues only occur when scaling is not 100%. I have attempted to rectify the first issue by using the member function to get scaling value but this seems to always return 1. The second one I am unsure how to attempt to solve.