Implemented propagateDirtyToChildren.