add more code to prevent possible unexpected crash.
add more code to prevent possible unexpected crash.

axeisghost/DART6motionBlur,axeisghost/DART6motionBlur,dartsim/dart,dartsim/dart,axeisghost/DART6motionBlur,dartsim/dart,dartsim/dart,dartsim/dart