Fix issue where images were not displaying