Fix the image fadeout and resizing problem

Fix the problem when work as gallery/album