Fixed duplicate image load bug