Fix "move tab to new window" for incognito tabs

This fixes #1034.