Fixed sending of clip values from 0-based to 1-based.