Fix bugs in shapes.py/ering used by shapes.ellipse()