Fix a UI glitch.