Fixed an issue with window header btns.