Fixed a bug for Titlebar : becoming borderless