Fixed a few UI glitches.