Fix Primitive culling with scene3DOnly

Fix Primitive model matrix support for multiple geometries that have the same model matrix in 3D only scenes.

For #2279.