Fixed no images bug