Perform null check when getting the world