Grid layout bug

Hi, everyone.

I’m developing a column edit layout to put inside the headers of the columns of a grid, and grid layout is presenting a strange behaviour when the grid is rendered in the first time.
After I reload the page or I click in a button that shows a popup, it goes back to what it should be.

Is this something related to some vaadin internal code or am I doing something wrong?
24902.jpg
24903.png