Fixed disappearing widget problem (thanks Dan!).