Fixed crash in showobjects command when used not in world