fix for popup context menu in firefox