image/draw: fix issue