Added renderer option, all primitives now work with canvas2d