Fixed None value in Widget.render