correct mask switching with multimasks on delete & backspace