minor improvements to the aggdraw canvas