Fix for images not being displayed