Fixed bug relating to image size.
Bug fixes