fix child_positions in glayout