Fix bug that frame title is not set with Emacs daemon