Make widget defer rendering properly.
Don't render the content if widget set deferred.
Merge pull request #1189 from ntomka/widget_defer

Widget defer