Dragging the Preference window is super slow

Description

When I drag the Preferences window in Footprint Editor it is super slow. It doesn't lag it just in "slow motion" I have never experienced anything like this before on Windows 😅

I am seeing this issue in:

  • Footprint Editor
  • PCB Editor
  • Schematic Editor

Steps to reproduce

  1. Install fresh nightly
  2. Open Schematic Editor
  3. Open Preferences
  4. Drag the Preferences window
  5. Observe strange behaviour

KiCad Version

Application: KiCad Footprint Editor (64-bit)

Version: (6.0.0-rc1-67-ga17782d5d2), release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.78.0-DEV Schannel zlib/1.2.11

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

Build Info:
	Date: Nov 20 2021 00:01:09
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.5.0
	Curl: 7.78.0-DEV
	ngspice: 35
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON
Edited by Guðni Már Gilbert