Fixing some visual glitches.