Leage uf Legends client is very laggy

Hello, yesterday I installed Endeavour on my PC and League of Legends via Lutris. The moment I open the client things get pretty laggy, and selecting champion/changing runes is also very laggy. When I finally got in the game I was getting very high FPS and everything was fine so the issue is only with the client.

Enabling low-spec mode didn’t t help.

My specs:

i7-12700K

RTX 3070

22 GB ram

Anyone has a solution?