Change to current working directory when creating new window