Fix a widget issue in firefox