Fix bad interaction of --resize-fit with --rotate.

--rotate sets the position, so it needs to consider crop offset.
Reported by Michał Ziemba.
To 1.85.