Fixed image-loading issues