Fixes https://gitlab.com/kicad/code/kicad/-/issues/14784 Fixes https://gitlab.com/kicad/code/kicad/-/issues/14782 (cherry picked from commit d4c9d9d60a)
d4c9d9d60a
(cherry picked from commit ddc6ecf7be)
ddc6ecf7be
(cherry picked from commit 9ae8255202)
9ae8255202