Added support for images that are display:none; Fixes issue with bootstrap's hidden-* classes