Fixing the window title bug.