[MWF] Fix crash from null control in ContainerControl (#10537)