[PATCH] Small SetParent fix