Preserve "startedFromOverworld" flag value properly. Fixes #1683