Set window title when webview title is empty.

This fixes a regression from 1ae3fe3830340ff24cab16aa5d2d9cc10b932fe6.