Fix image loading issues