[NUI] Fix Linear Layouter crash and update issue