forbid automatic loading of a mask if mask is loaded as image