Fixed ncTpos bug in 2D.