Correction hasShadow listening #767

As previously mentioned in issue #767, i send a correction for this issue. You'll have one less thing to worry about ;)