Draw string as curves - fix a bug with setting with-primitives too many times.