Merge pull request #1202 from x-team/widget-deactivate-fix

Make sure widget at index=0 is removed from sidebar when deactivated