Fix display bug that caused images to not display in Chrome/Firefox.