Fix for "Awaiting Character Spawn" in Headless Mode

See #1224