am 8e925e55: Merge "Fix a crash in print preview on multiple rotations." into lmp-dev

* commit '8e925e55e44b9ebc568f3e0bc59e32a1153ffbef':
  Fix a crash in print preview on multiple rotations.