fix issue with glare on ipad and iphone
merge master