Fix mask stack naming.