Don't render shadow when both shadow depth X and Y are 0.
Replaced feOffset+feComponentTransfer-based outlines with feMorphology+feFlood-based outlines.

The resulting filters are smaller and faster and the outlines have the right colors.