Change the behavior of non-square image in draw_setup_image
(#407)