Bugfix: crash when deleting objects from plater with toolpaths preview open. #2389