fix view, proj and vertices bugs