Ugh, what a moron I am. It lags only in the browser version. It's not surprising that the browser tries to do everything smoothly but it doesn't work. I downloaded it as an app and everything was fine even on ultra. Sorry for nagging you.
Well, what can I say. I tried it with my joystick. Everything works, although you need to get used to some buttons, but it doesn't matter. The game is cool, but playing on the phone is so-so, even on my Samsung S10 Lite the game sometimes lags.