Fix image loading