Optional
The active frame, used to render the active edges. Calculate it from the frames returned by useFrames composable because otherwise it will be the wrong size while dragging.
frames
useFrames
The owning window, needed so we can correctly scale coordinates.
The active frame, used to render the active edges. Calculate it from the
framesreturned byuseFramescomposable because otherwise it will be the wrong size while dragging.