fix #1124 TitlebarHeight <= 0