Fixed random image loading