Fixed child controls initialization bug