Fixed issue with image loading.