fix a distorted flashing or skewed image