handle the case frame port events are out of order
handle the case frame port events are out of order

origin commit:
https://github.com/mrmr1993/vimium/commit/ff615efa9a41f1de5df1a6eea0e8a3c809f91b4b

PR: philc/#2125, #2853

Although no test pages

gdh1995/vimium-plus,gdh1995/vimium-plus,gdh1995/vimium-plus