Fixed #42 tab bar overflow menu that was not clickable after switching window