small firefox event fix