Fixed issue with loading images on IE