Fixed situation when widget was sentenced and trying to insert himself to dom