Fixed an issue where images that are stored in the DOM but supposed to be invisible were visible in IE.