Fixed bug matching the window title.