Fixed problem with closing embedding, mParent holds reference and prevent future widget destroy