fix regression using ctrl-alt-n for new tab (fixes #2979)