fix unittest "ResizeTest::resizeWithoutMaintainingAspectRatio"