Fixed shadow and outline can't take effect at the same time by modify this line.