* Fixed bug with image data being read from the wrong position.