fix #22020: Dashed lines (for frames) oversized in navigator window