Fixed offline support for widgets