Fix image-proxy infinite reload problem.