Set object shadow and context shadow only if shadowColor is set

Set object shadow and context shadow only if shadowColor is set
Otherwise toSVG() returns for every brush object a shadow filter