Handles inputs that are box-sizing:border-box

if the input being watermarked has the css - box-sizing:border-box - then the size of the added watermark element must be calculated differently. see lines marked "LG: Added" for details.