Fixes https://gitlab.com/kicad/code/kicad/issues/2288
Fixes: lp:1784178 * https://bugs.launchpad.net/kicad/+bug/1784178 Fixes: lp:1780363 * https://bugs.launchpad.net/kicad/+bug/1780363