Finally fixed image loading