2 monitors with different windows scaling, popupmenu opens at wrong position

I have 2 monitors, one (4k) scaled with Windows scaling to 200% and the other is 100 %.
When creating a floating Document Window and having that in the 100 % monitor, and dragging the original plugin window to the 200 % monitor, all the PopupMenus opened in the plugin window are at the wrong position and with the wrong size, that is, it is opened at the Options::targetarea calculated from the wrong monitor scaling it seems.