Fixed rotate image.