Bug 941908 - Crash in nsIDocument::IsActive becuse of a null document. This would assert in debug builds, but use a wallpaper null-check in release builds also, r=johns a=lsblakk