Fixed globalCompositeOperation reset and miterLimit.