Fixed some glitches in IE.