Put In a Check to be Sure Shade Is Generated

The component now does not throw an error if no shade is generated.