Fixed VertexBuffer bug and Effect bug