crash: activate "Pack & Move" during active move command

Description

If the hotkey "P" for crash&move footprints is activated during a running move command then kicad crashes.

note regarding the version:

  • crash in nightly
  • v7.0.7 stable is not crashing, but places the currently moved selection far far far away from the board.

Steps to reproduce

  1. open attached project, open board:crash_Pack_Move.zip
  2. select the footprints in the middle of the board (box-selection)
  3. LMB-click/drag to move the selection around (you could also use "M" to start moving)
  4. during movement (selection is attached to cursor) press "P" for pack&move footprints
  5. movement is abandoned and kicad crashes

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 7.99.0-2457-ga9a2d4aa7a, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 8.0.0
	FontConfig 2.14.2

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

	wxWidgets: 3.2.2 (wchar_t,wx containers)
	Boost: 1.82.0
	OCC: 7.7.1
	Curl: 8.2.1-DEV
	ngspice: 40
	Compiler: Visual C++ 1936 without C++ ABI

Build settings: