Fixes to ALS based display brightness adjustment