Rerrange popup panel layout initializing code …
Specifically, the sticky controls box is re-parented pre-emptively instead of waiting for the decision as to whether the panel must be toggled into a vertical layout mode.