Updated to load images correctly in <2013b.