fn point_on_rect_border(p: Pos2, rect: Rect, width: f32) -> (bool, Rect)
Creates an outer and inner rectangle, used to identify whether the annotation was clicked on.