About your question:
- The blue Area markup could help i think. Knowing if its an header what class is used. what mode ? if there is a missing element in the declaration. Just the basic markup from you aspx.with only the useful linformation.
Its look like a css issue :
Check the css apply the 1rst time
Check it the second time, is there any change in the css ?
Do you have personal Css that could be messing up the display ?
I have no solution for you with those basic element.
But those step could help you find a solution.
If you still struggle to find where this weird bug comes from.
Create a new simple project an try to reproduce this issue.
Dont spend to mutch time trying, 90% of the time i just can't reproduce the bug.
That help me finding where i mess up.