Fix context menu select-all in IE11

Issue #2463