Fix assert in SpriteChildrenVisibilityIssue665 test.