IE fixes and workarounds