Fix for Dilation

Fixes some problems with an expected ROIv-file which was expected but should not be created in case of no dilation