parent-layer disappears when child is loaded