Fix the misalignment of ellipse's center() 

When the given x or y coordinate equals to 0, it misaligns to rx or ry in my case.