Fixed overriding images bug