Avoid exiting the loop too early in case of an empty shadow.

This would skip drawing the text above the shadow, too.