Fix dynamic sizing on IE