Bugfix - messed up dimensions of raw image.