Limit line cue setting to values in the -1000~1000 range.

Fixes #253.