fix: grab cornerstone instance when called, not module load (#1078)
fix: grab cornerstone instance when called, not module load (#1078)

Reduces the chance that cornerstone has not yet been registered (resulting in `undef`)
cornerstonejs/cornerstoneTools,chafey/cornerstoneTools,cornerstonejs/cornerstoneTools,cornerstonejs/cornerstoneTools