Respect the aspect ratio when loading images