Fix modelMatrix in Primitive constructor

CC @bagnell