Fixes https://gitlab.com/kicad/code/kicad/-/issues/2317
(Prep work for reusing them with a custom shape editor.)