@Humpleupagus In all seriousness, the reason this would happen is how sensors would detect light differently from darker skin. Darker skin would more likely not reflect as much light as lighter skin. There is not a great way to work around this, as detecting light bouncing off of anything is limited. I had to do some work in something tangeantly similar, so I know full well that this is not something that can be programmatically solved either.
In short, physics is RACIST!