Preemtive Null pointer checks for rayTrace
Override in Littleworld for updateLightByType