Fixes scrambled image.