Fixed loading of images from bundle.