w2sidebar context menu in firefox

when the context menu for w2sidebar is rendered, the offsetX is undefined only in Firefox (Chrome OK). I altered the event property usage, using the pageX when offsetX is unknown.