Fix image blob bugs