Fix background color on OS X for histogram widget of ray.
Change the direction of samples along the ray.

Front to back -> Left to right instead of Front to back -> Right to
left.