Fixed a bug in simple brush stroker