Several IE bugfixes