So I am trying to build a svg editor. For this functionality I am trying to highlight the selected rectangle by drawing smaller rectangles in each of its corners, using the