We currently create a new (copied) ContextShadow every time savePlatformState() is called. This is fairly expensive, so we should find a way to avoid it.
This issue was fixed in the move to ShadowBlur.