changed fill mode behavior. now  average color is used to fill.