fix title changes while maximized