fixed bug with widgets vanishing when pulled into page tree