Fix the two layers' children exist with each other error for commit 77184d5682eb19ae06af11ef9d453d99246e6731.