Fixed the shadow bug.