Fixed issue with image not loading