Image loading problem fix