Text selection is wrong after rotation
Apart from the selection's wrong reaction to mouse dragging (probably just forgot to transform the coordinates), there are also issues of highlights not cleared properly sometimes.
Pinging @rahulaggarwal965, who added this text selection feature.