Fix possible nil in self.title

self.title might be nil while the webpage is loading