[3.8] Fix #1308 : Editing selection does not work