if (mEnableRendering && (mLoaded || mStopped) && mPresContext)
if (mEnableRendering && (mLoaded || mStopped) && mPresContext && !mSHEntry)
DocumentViewerImpl::Stop(void){  NS_ASSERTION(mDocument, "Stop called too early or too late");  if (mDocument) {    mDocument->StopDocumentLoad();  }  if (mEnableRendering && (mLoaded || mStopped) && mPresContext)    mPresContext->SetImageAnimationMode(imgIContainer::kDontAnimMode);  mStopped = PR_TRUE;  if (!mLoaded && mPresShell) {    // Well, we might as well paint what we have so far.    mPresShell->UnsuppressPainting();  }  return NS_OK;}