Fixed alt-tabbing reloading the widget