Fixed blinking bug of overlay image