`scatter` and `scattergl` have different behavior when there is only one trace has `selectedpoints` set. `scattergl`:  `scatter`:  Although the `scatter` case is not possible to reproduce by selection interactions, it is possible from API. Should be fixed within #2311