Fix maintaining aspect ratio