Fix crash with child somehow being null