Fixed not setting task mode for varying visualization.