Setting image_xscale above does nothing if you don't apply it here, if you insist on manual drawing.