Fixes bug in image.