minor code cleanup
Do not show slice intersection marker for 2D images

This fixes ilastik bug 191.