Fixed image loading issue