Set a limit
Open the console in the main menu and enter fps_max_ui without a number to record the current value. For a test, enter fps_max_ui 60. Close the console and check the menu frame counter.
Check on a map
Start local practice and check FPS while moving. The general frame cap uses fps_max. If the menu and the map show the same value, also check the general limit and vertical sync.
Restore the setting
Set fps_max_ui to the original value. A value of 0 removes the separate UI cap. Other limits can still apply.