Added fadein effect when rendering images