improve the performance of text-shadow