Fix swapped dimensions when trimming acquired image.