Draw a border inside the rectangle defined by x,y, width and height. The thickness of the border is given by size.