Fix new bug which crashed pcbnew running under kicad.exe while adding a new module in mod editor