Fixes some IE problems