Make RenderSprites aware of EffectiveOwner.

Fixes #5526.