fix: StackPrefecth stops when selecting different element (regression)
fix: StackPrefecth stops when selecting different element (regression)

* Fix issue 1071 - StackPrefetch stops when selecting different element (regression)
* Apply prettier

cornerstonejs/cornerstoneTools,cornerstonejs/cornerstoneTools,chafey/cornerstoneTools,cornerstonejs/cornerstoneTools