Preserve aspect ratio when placing images in the draw board