Fixed bug where images in the library get resized