Cubase 11 Pro midi editor is laggy

Hello Cubase users!

Since I got my new pc, the Cubase 11 editor has been very laggy. At first it’s fine until I select a midi note where it then starts lagging. The way it lags is like it drops fps to like 3 or 4 a second. Here is a low res video of that happening.

I really don’t under why this is happening, and I can’t seem to make it stop! Does anybody have any ideas what I could do?

Here are my specs:
Software: Cubase 11 Pro

Computer:
Motherboard: ROG_STRIX_B650-A_GAMING_WIFI
Processor: AMD Ryzen™ 7 7700X - 4.5GHz/5.4GHz
Graphics Card: ASUS DUAL-RX6650XT-O8G 8GB GDDR6 HDMI DP
Ram: RAM Corsair D5 5600 64GB C40 Dom Platinum RGB K2
SSD: HDSSD M.2 2 TB WD
PS: Corsair RM850e, 850 W, 100 - 240 V, 47 - 63 hz, 10 - 5 A, 150 W, 850 W