Preserve aspect ratio when scaling.