fixing stacked button issue in windows