Patch for making fixing aspect ratio for images.