Any way to fix UI lag in Editor?

Thank you for this! I’ve been searching frantically for a solution and this did it for me.