Here is a visual representation of what is happening.
shot0010.jpgshot0011.jpgshot0012.jpgshot0013.jpg
It seems like all the images have the same orientation regardless of the angles given... In the last picture is is displayed ok because the wall happens to be in the same orientation.