Update ellipse.class.js

Mirrored from circle the way it updates width and height following rx and ry of ellipse. #1062