Vector in stack order incorrect after maskng