Adding additional shadowLayer support