fix slur insertion when range selected