Minor refresh issue

I have a PageControl with two sheets. On the first sheet I put a button. I activate the second sheet and then when resizing the form parts of first sheet appears. It seems that the second sheet is not updated. Clicking the second sheets solves the problem. The sheet becomes fully aligned.