     }
 
     func webViewDidInvalidatePage(webView: TLWebView) {
-        if let visitable = activatedVisitable {
+        if let visitable = topmostVisitable {
             visitable.updateScreenshot()
             topmostVisit?.cancel()
 

    }

    public func visitableDidRequestRefresh(visitable: TLVisitable) {
        if visitable === activatedVisitable {
            refreshing = true
            visitable.willRefresh()
            reload()

    }

    // MARK: Visitable activation

    private var activatedVisitable: TLVisitable?

    func activateVisitable(visitable: TLVisitable) {
        if visitable !== activatedVisitable {
