Fix (apparently) offset curve bug