fix window buttons