Fix parent bug and use FlowBox