Refs #7578. Attempt to access a deleted object via a dangling pointer.

git commit -m $Refs
Merge branch 'feature/7578_sliceviewer_crash' into develop