New tab opens new window when sidebar is hidden

1.6.17 installed.
When you click on the new tab button and you have the sidebar hidden a new window opens rather than a new tab being generated. This was also present in 1.6.16