Fixed some CSS and UI glitches