Fix loading page with cached image