The app creates SplitPane with Rectangle inside a FlowPane on one side.
See the screenshot of incorrect layout.
When FlowPane is not used, layout is correct.
See the screenshot of incorrect layout.
When FlowPane is not used, layout is correct.