bugfix when changing slice and not within volume