[BUG] 8.1.5 Perspective popup opened offscreen dragged resizes to full width of view

When a popup is opened slightly offscreen via script e.g. Off the right of the screen, and is then dragged into full view, the popup increases in width to the full width of the screen. Will get a screenshot a bit later