Fix complex mask backspace issue