The polygon is now drawn on both the original and the result images.