Fix IE inconsistencies