Add support for window parenting