IE img bug fix

Same a master branch commit (https://github.com/twitter/bootstrap/pull/7369)