Fixed some CSS rendering bugs.