UDBScript: fixed an issue where the Thing's class getSector method did not return null when the thing was not in a sector. Fixes #897