bugfix: Fixed an error when place object's destruction before the destroy of a widget