Fix image load callback