Converted shadow rendering to use label functionality.