Calculate line position for cues with their snapToLines flag set.