Fixed another shadow flickering bug