Crash PCB Editor when grab-moving a footprint

Description

In an existing project, I can repeatably crash PCB editor by grabbing a footprint and dragging it.

Steps to reproduce

Command Station Sensors.zip

  1. Start KiCad.
  2. In the main window, my project "Command Station Sensors" is the default; don't know if the fact that it's default matters.
  3. Click PCB Editor icon to start it.
  4. Change measurement units from mm to mil by clicking the button along the left side (this and/or the next step seems to matter).
  5. Change grid from 5 mils to 50 mils by right-clicking and choosing "Grid" (this and/or the previous step seems to matter).
  6. Click footprint J2 to select it.
  7. Hit M to move it. Move it down 50, 100 mil, then move it back up where it started and click to click to leave it there. Doing this move first might matter. It might also matter that you actually click it back into the same place instead of hitting ESC to cancel the move. It might not matter that it's left in the same place.
  8. Hit ESC to deselect it. This and the next step might matter (vs. just hitting g at this point).
  9. Click J2 again to select it.
  10. Hit g to grab it.
  11. Move it down 50, 100, 150. Move it back up a bit. Move it down a bit. I always get a hard crash here (all windows just disappear).

KiCad Version

Application: KiCad x64 on x64

Version: 10.0.1-rc1-1-g857b3a9a06, release build

Libraries:
	wxWidgets 3.3.2 
	FreeType 2.13.3
	HarfBuzz 12.3.0
	FontConfig 2.17.1

Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW

	wxWidgets: 3.3.2 (wchar_t,STL containers)
	Boost: 1.90.0
	OCC: 7.9.2
	Curl: 8.18.0
	ngspice: 45.2
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF

Locale: 
	Lang: en_US
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)