Fix always load image from remote issue