Add the fix for padded "curve " commands