Fix crash on login due to invalid/null world.