Fix <FileInput>
and <ImageInput>
clone their child
#8052
Merged
<FileInput>
and <ImageInput>
clone their child
#8052