Move selection-only preview to refresh function
When the drawing items are mutated during a modification event cycle, there is the possibility that the drawing item hierarchy is not consistent and will crash. Also fixes lack of updates on selectionModified. Fixes inkscape/inkscape#3638 Fixes inkscape/inkscape#3582
Loading