Draw box border with a consistent thickness regardless of the view's scale