a bug related to attaching event listener to the second window's context menu fixed. #187