Proper curve

Proper curve is being drawn. Resizing works.