Probably the window resizing is "moved" after the centering.
Probably the window resizing is "moved" after the centering.