Have getPixelColor compensate for brightness adjustment

It seems that the getPixelColor function does not readjust for the adjusted britness (from when setPixelColor was called)

I added code to adjust the value back to what was passed into setPixelColor.