Fix set current position slice change check...
Added a time test for the generate image data.