Right now when photons are added to sensors, it is done inside of a JITed function. Thus any internal state in the Sensor is not automatically propagated back out. We should figure out a way to do this if we ever add stateful sensors (e.g., a sensor that does brighter fatter).