Clamp pos[2] when transform 2D only