for issue #2 preserve aspect ration when PnP resized