The computation of the height of the popup is wrong for windows that are on the right side of a window arrangement. For instance, this is correct: <img width="1922" height="1227" alt="Image" src="https://github.com/user-attachments/assets/6a4fa416-0856-4e1d-bd49-24d0792e7b4f" /> but this is wrong: <img width="1922" height="1231" alt="Image" src="https://github.com/user-attachments/assets/989d3426-0b17-40e4-8643-d3460326f8aa" />
The computation of the height of the popup is wrong for windows that are on the right side of a window arrangement.
For instance, this is correct:
but this is wrong: