Reproduction steps:
1. Create a new Unity project
2. Go to Window > Analysis > Profiler
3. In the Profiler Controls press the burger button
4. Select Color Blind Mode
5. Enter the Play Mode
5. Disable Color Blind Mode
7. Select the "Show Stats for 'current frame'" option
8. Observe the Profiler Module details panel
Expected result: Profiler Module details panel text stays grey and UI stays the same
Actual result: Profiler Module details panel text becomes red and UI breaks
Reproducible with: 2020.3.37f1, 2021.3.7f1, 2022.2.0b3, 2023.1.0a4
Notes:
- Make sure that the Profiler results mode is set to Timeline
- The issue is not reproducible when using Profiler (Standalone Process)
- The issue is reproducible on Windows 10, not reproducible on macOS Monterey 12.3.1 (Apple M1 Max)