Ty, I'm happy at least someone found enjoyment in it :)
Why it doesn't work me on firefox (v129.0.2), idk, I have it always like this , working on 32FPS or around that. I also tried to change code to 30 FPS (change value in SetTargetFPS(30); and made for loop that handles how many times to do something without rendering to do twice as much, so physics would be still 60FPS), in Chrome it worked still fine, but on Firefox even though it was on correct FPS, it had still somehow lagging UI, so I gave up on it and assumed that it is something inside firefox causing problems.