Fixed image rotation via the viewer.