Parent is automatically set in map entities, but shadow is not set unless you set it by script.