fix possible blurry effect on layout items