Fixed a regression where closing the widget editor did not remove the screen overlay element