shadow: limit shadow surface for image backend