Fixed bug with rerendering a widget with a shelf.