Selection of bounding box disappears after hover over text
If you selected a bounding box on a folio and then hovered over the text area (on the sidebar) corresponding to that bounding box, the selection color (red) disappears.
This is probably because the logic for hovering over the text area does not consider an already selected bounding box.
https://user-images.githubusercontent.com/40512164/169064130-c9ef2e03-736e-4ee3-8a53-8e225fe47223.mov
Minor fix still needed:
After selecting the bbox, when click on another bbox's text, the latter bbox is selected, but not highlighted in red.

Hi @JoyfulGen, I've pushed the changes for the minor issue.
Hi @jinh0 and @yinanazhou, the changes work! I've found another small related issue though: Normally, when you select a bounding box, its corresponding syllable in the text box becomes highlighted. However, if the "Text" checkbox isn't checked at first and I select a bounding box and then check the "Text" box, the bounding box I selected stays highlighted, but its corresponding syllable doesn't highlight at all.
https://user-images.githubusercontent.com/83373378/177325363-3cf57c64-b00c-4f3d-881e-512eaf632cb6.mov