try to adjust the widget bounds when hiding the pw field