masks: fix ellipse shape display for small sizes