fixed the window blinking title to restore the original title instead of a fixed one