fixes #3730 check for prefs for webcontainer