Fixed repeated images bug