Merge pull request #1145 from Synchro/master

Contrast percentage fix for #1144