Rotate image fix