fixed pen stroker bug