Fix crash from null control in ContainerControl

This fixes FWNX-997 and Xamarin 10537.

Change-Id: I92fc7318c231d708d6b633238f9a070bf44e8cfa