3d problem with a simple title game

2d the same main:


there is something I don’t know that distorts the cordinates in the 3d, yet the size of the tile is established with a screen calculation divided by row or column, in 2d it goes well in 3d no!
in the 3d version not even all the tiles are drawn and some of them are outside the window, whi ?