Fixed console window's context menu which was broken by the previous commit