Correctly filter mouse events from buttons after tabs
for "beforehovered" attribute on last tab
Note: there also logical bug in old code:
if(btn.id == "tabbrowser-tabs")
(only tabs before buttons)
(#138, also related to #137)