There seems to be some sort of buffer corruption issue in Math Madness after you've triggered the secret ending in Chaos Mode.
It lasts until you restart the game. (May be macOS specific)