AlertWindow and DialogWindow won't scale and center after setGlobalScaleFactor or when JUCE_WIN_PER_MONITOR_DPI_AWARE disabled

AlertWindow and DialogWindow won’t scale and center after setGlobalScaleFactor or when JUCE_WIN_PER_MONITOR_DPI_AWARE disabled.

i’m using juce 6.1.1 on windows.

I created a new project (standalone audio application) to reproduce.

MainComponent constructor

    addAndMakeVisible(m_btn);
    m_btn.setButtonText("OPEN DIALOG");
    m_btn.onClick = [this] {

    juce::DialogWindow::LaunchOptions o;      
    o.content.setOwned(new TestComponent());
    o.content->setSize(460, 300);
    o.dialogTitle = "Dialog test";
    o.dialogBackgroundColour = o.content->getLookAndFeel().findColour(juce::DocumentWindow::backgroundColourId);
    o.escapeKeyTriggersCloseButton = true;
    o.useNativeTitleBar = false;
    o.resizable = false;
    o.componentToCentreAround = this;
    
    o.launchAsync();

};

Result : dialog is centered.

Now in the app constructor i add :
juce::Desktop::getInstance().setGlobalScaleFactor(1.5f);

Result:

Now JUCE_WIN_PER_MONITOR_DPI_AWARE is disabled and setGlobalScaleFactor removed.

Result:

Am i doing something wrong ?