Changed order of image loading