Fix various IE display bugs (issue #384)