Setting the projection matrix now works. the matrix is almost correct, though it seems there is still an error in the field of view.