So that the overlay won't overflow the geometric region of the underlying element due to the border width. But 1 is still wrong. I changed to:

(this.CONST.UI_BORDER * 2)

Where UI_BORDER is a new constant that defines how thick the UI border is.